diff options
| -rwxr-xr-x | bin/newlist | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/newlist b/bin/newlist index f922df684..2737dd6b5 100755 --- a/bin/newlist +++ b/bin/newlist @@ -31,7 +31,11 @@ Note that list-names are forced to lowercase. import sys, os, string import time -import getpass +try: + import getpass +except ImportError: + # we must be in Python 1.5, which didn't have the getpass module + from Mailman.pythonlib import getpass import paths # path hacking from Mailman import MailList from Mailman import Utils |
