diff --git a/Lib/mhlib.py b/Lib/mhlib.py index 85bf2cd3f61..5de153851bd 100644 --- a/Lib/mhlib.py +++ b/Lib/mhlib.py @@ -284,7 +284,7 @@ def listmessages(self): match = numericprog.match append = messages.append for name in os.listdir(self.getfullname()): - if match(name) >= 0: + if match(name): append(name) messages = map(string.atoi, messages) messages.sort()