]> code.delx.au - offlineimap/commitdiff
typo in previous
authorFlorian Friesdorf <flo@chaoflow.net>
Thu, 20 Mar 2008 12:46:42 +0000 (13:46 +0100)
committerJohn Goerzen <jgoerzen@complete.org>
Thu, 20 Mar 2008 17:08:57 +0000 (12:08 -0500)
offlineimap/folder/LocalStatus.py

index 8ba5bb88c3f8cea9c92a9b7901eef4614a5e26da..4bb83ee64784f5b74f789ddd08c861e1bcc106ca 100644 (file)
@@ -67,7 +67,7 @@ class LocalStatusFolder(BaseFolder):
         file = open(self.filename, "rt")
         self.messagelist = {}
         line = file.readline().strip()
-        if not line and not line.read()
+        if not line and not line.read():
             # The status file is empty - should not have happened,
             # but somehow did.
             file.close()