branch : pmacs2
This commit is contained in:
moculus 2008-11-11 16:29:49 +00:00
parent d6e51fa204
commit 7b191add79
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class MboxListBuffer(Buffer):
f = open(self.path, 'r') f = open(self.path, 'r')
self.size = len(f.read()) self.size = len(f.read())
f.close() f.close()
if sys.version_info == 4: if sys.version_info[1] == 4:
fp = open(self.path, 'rb') fp = open(self.path, 'rb')
self.mbox = mailbox.UnixMailbox(fp) self.mbox = mailbox.UnixMailbox(fp)
else: else: