Commit 5332d256 authored by Jeremy Hylton's avatar Jeremy Hylton

Oops: local var is f not file.

parent 38d928c0
...@@ -48,7 +48,7 @@ class StupidLogTest(unittest.TestCase): ...@@ -48,7 +48,7 @@ class StupidLogTest(unittest.TestCase):
# skip to the beginning of next entry # skip to the beginning of next entry
line = f.readline() line = f.readline()
while line != "------\n": while line != "------\n":
line = file.readline() line = f.readline()
line = f.readline().strip() line = f.readline().strip()
_time, rest = line.split(" ", 1) _time, rest = line.split(" ", 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment