diff options
| author | bwarsaw | 1999-02-27 18:05:43 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-02-27 18:05:43 +0000 |
| commit | ae1a4a2ffdc8158a37e2f85d887d90c2c4f0ceeb (patch) | |
| tree | 064440dd98cd64e0f8c19105e06d8f9a0bdd3e02 | |
| parent | 28e699eb8735931a6f4247c8439d8ede1f684594 (diff) | |
| download | mailman-ae1a4a2ffdc8158a37e2f85d887d90c2c4f0ceeb.tar.gz mailman-ae1a4a2ffdc8158a37e2f85d887d90c2c4f0ceeb.tar.zst mailman-ae1a4a2ffdc8158a37e2f85d887d90c2c4f0ceeb.zip | |
| -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 |
