summaryrefslogtreecommitdiffstats
path: root/Lib/mhlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/mhlib.py')
-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):