summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-17 05:59:26 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-17 05:59:26 (GMT)
commitf93befc2094f5adea7a7b7aa8b979d52241b2062 (patch)
treef913f25b9218e5b63c14784b5e55bb9b83086598 /Lib
parentadbd35bbccd170acf1a57b582786f5e753934508 (diff)
downloadcpython-f93befc2094f5adea7a7b7aa8b979d52241b2062.zip
cpython-f93befc2094f5adea7a7b7aa8b979d52241b2062.tar.gz
cpython-f93befc2094f5adea7a7b7aa8b979d52241b2062.tar.bz2
Folder.getlast(): avoid PyChecker warning.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/mhlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mhlib.py b/Lib/mhlib.py
index c83b637..6cf0128 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):