Commit e9819530 authored by Denis Bilenko's avatar Denis Bilenko

make it a little bit more pythonic

parent 633890a9
......@@ -125,7 +125,7 @@ class Input(object):
return self.__iter__()
def __iter__(self):
while 1:
while True:
line = self.readline()
if not line:
break
......
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