From 481b09b3526d446e8abb8f0336b5e38a4fef01ac Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 8 Nov 2004 06:36:42 +0000 Subject: SF #1062190. Removed an assertion that rendered trace.py unnecessarily inflexibile. --- Lib/trace.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/trace.py b/Lib/trace.py index b104ff0..f167fcf 100644 --- a/Lib/trace.py +++ b/Lib/trace.py @@ -416,7 +416,6 @@ def find_strings(filename): def find_executable_linenos(filename): """Return dict where keys are line numbers in the line number table.""" - assert filename.endswith('.py') try: prog = open(filename, "rU").read() except IOError, err: -- cgit v0.12