From: Guido van Rossum Date: Wed, 17 Oct 2001 05:59:26 +0000 (+0000) Subject: Folder.getlast(): avoid PyChecker warning. X-Git-Tag: v2.2.1c1~1228 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f93befc2094f5adea7a7b7aa8b979d52241b2062;p=thirdparty%2FPython%2Fcpython.git Folder.getlast(): avoid PyChecker warning. --- diff --git a/Lib/mhlib.py b/Lib/mhlib.py index c83b63777a56..6cf012830716 100644 --- a/Lib/mhlib.py +++ b/Lib/mhlib.py @@ -648,7 +648,7 @@ class Folder: def getlast(self): """Return the last message number.""" if not hasattr(self, 'last'): - messages = self.listmessages() + self.listmessages() # Set self.last return self.last def setlast(self, last):