From 7b191add79f75d7f67536e324bcd0bccabc285c7 Mon Sep 17 00:00:00 2001 From: moculus Date: Tue, 11 Nov 2008 16:29:49 +0000 Subject: [PATCH] --HG-- branch : pmacs2 --- mode/mbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode/mbox.py b/mode/mbox.py index 0bec37d..35f2ee5 100644 --- a/mode/mbox.py +++ b/mode/mbox.py @@ -134,7 +134,7 @@ class MboxListBuffer(Buffer): f = open(self.path, 'r') self.size = len(f.read()) f.close() - if sys.version_info == 4: + if sys.version_info[1] == 4: fp = open(self.path, 'rb') self.mbox = mailbox.UnixMailbox(fp) else: