python 2/3 portability changes for log class from Pizza.py
This commit is contained in:
@ -319,8 +319,8 @@ class dump:
|
||||
# if fail, try next file
|
||||
# if new snapshot time stamp already exists, read next snapshot
|
||||
|
||||
while 1:
|
||||
f = open(self.flist[self.nextfile],'rb')
|
||||
while True:
|
||||
f = open(self.flist[self.nextfile],'r')
|
||||
f.seek(self.eof)
|
||||
snap = self.read_snapshot(f)
|
||||
if not snap:
|
||||
|
||||
Reference in New Issue
Block a user