Update of /cvsroot/mailman/mailman/Mailman
In directory sc8-pr-cvs1:/tmp/cvs-serv11742/Mailman
Modified Files:
Tag: Release_2_1-maint
Site.py
Log Message:
True/False wehre appropriate.
Index: Site.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Site.py,v
retrieving revision 2.0
retrieving revision 2.0.2.1
diff -u -d -r2.0 -r2.0.2.1
--- Site.py 5 Mar 2002 16:57:58 -0000 2.0
+++ Site.py 1 Dec 2003 00:56:50 -0000 2.0.2.1
@@ -1,4 +1,4 @@
-# Copyright (C) 2002 by the Free Software Foundation, Inc.
+# Copyright (C) 2002-2003 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -25,6 +25,12 @@
from Mailman import mm_cfg
+try:
+ True, False
+except NameError:
+ True = 1
+ False = 0
+
def _makedir(path):
@@ -63,7 +69,7 @@
# BAW: We don't really support domain<>None yet. This will be added in a
# future version. By default, Mailman will never pass in a domain argument.
-def get_archpath(listname, domain=None, create=0, public=0):
+def get_archpath(listname, domain=None, create=False, public=False):
"""Return the file system path to the list's archive directory for the
named list in the named virtual domain.
_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org