From 878097bf4a7d50ad9658544461474dfa48f252bd Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Mon, 1 Dec 2003 00:56:50 +0000 Subject: True/False wehre appropriate. --- Mailman/Site.py | 10 ++++++++-- 1 file 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. -- cgit v1.2.3