Commit f93befc2 authored by Guido van Rossum's avatar Guido van Rossum

Folder.getlast(): avoid PyChecker warning.

parent adbd35bb
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment