diff options
Diffstat (limited to 'Lib/mailbox.py')
-rwxr-xr-x | Lib/mailbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mailbox.py b/Lib/mailbox.py index 2293a6c..d55a3dd 100755 --- a/Lib/mailbox.py +++ b/Lib/mailbox.py @@ -2043,7 +2043,7 @@ class MHMailbox: # list = map(long, filter(pat.match, os.listdir(self.dirname))) list = os.listdir(self.dirname) list = filter(pat.match, list) - list = map(long, list) + list = map(int, list) list.sort() # This only works in Python 1.6 or later; # before that str() added 'L': |