diff options
Diffstat (limited to 'debug/testlib.py')
-rw-r--r-- | debug/testlib.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/debug/testlib.py b/debug/testlib.py index 3eeace9..996c188 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -540,8 +540,7 @@ def header(title, dash='-', length=78): def print_log(path): header(path) - lines = open(path, "r").readlines() - for l in lines: + for l in open(path, "r"): sys.stdout.write(l) print |