aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbwarsaw <>2003-12-01 00:56:50 +0000
committerbwarsaw <>2003-12-01 00:56:50 +0000
commit878097bf4a7d50ad9658544461474dfa48f252bd (patch)
tree77e29c99df3f9dfe4a4bec7fea09a9af2a99aea0
parent77ad0bb15714fbc4e6065a8c61fb337b90d80991 (diff)
downloadmailman2-878097bf4a7d50ad9658544461474dfa48f252bd.tar.gz
mailman2-878097bf4a7d50ad9658544461474dfa48f252bd.tar.xz
mailman2-878097bf4a7d50ad9658544461474dfa48f252bd.zip
True/False wehre appropriate.
Diffstat (limited to '')
-rw-r--r--Mailman/Site.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/Mailman/Site.py b/Mailman/Site.py
index d4360d2c..4ac44769 100644
--- a/Mailman/Site.py
+++ b/Mailman/Site.py
@@ -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 @@ import errno
from Mailman import mm_cfg
+try:
+ True, False
+except NameError:
+ True = 1
+ False = 0
+
def _makedir(path):
@@ -63,7 +69,7 @@ def get_listpath(listname, domain=None, create=0):
# 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.