summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 15d080f)
raw | patch | inline | side by side (parent: 15d080f)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 7 Sep 2003 22:12:24 +0000 (22:12 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 7 Sep 2003 22:12:24 +0000 (22:12 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1865 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi/client.py | patch | blob | history |
diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py
index ffdd76114f8d412360370ccb0d15001e570060cc..d4228e1780de94b9a1d87fc7f9c362d625d9c1a8 100644 (file)
--- a/roundup/cgi/client.py
+++ b/roundup/cgi/client.py
-# $Id: client.py,v 1.134 2003-09-06 09:45:30 jlgijsbers Exp $
+# $Id: client.py,v 1.135 2003-09-07 22:12:24 richard Exp $
__doc__ = """
WWW request handler (also used in the stand-alone server).
SENDMAILDEBUG = os.environ.get('SENDMAILDEBUG', '')
# used by a couple of routines
-chars = string.ascii_letters+string.digits
+if hasattr(string, 'ascii_letters'):
+ chars = string.ascii_letters+string.digits
+else:
+ # python2.1 doesn't have ascii_letters
+ chars = string.letters+string.digits
# XXX actually _use_ FormError
class FormError(ValueError):