From d6ff8ec32f81219a118bbfc0211551b28295cca6 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 11 Sep 2002 01:20:09 +0000 Subject: [PATCH] default value for GADFLY_DATABASE git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1130 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/backends/back_gadfly.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roundup/backends/back_gadfly.py b/roundup/backends/back_gadfly.py index 8b01acc..7bde8f7 100644 --- a/roundup/backends/back_gadfly.py +++ b/roundup/backends/back_gadfly.py @@ -1,4 +1,4 @@ -# $Id: back_gadfly.py,v 1.15 2002-09-10 00:11:50 richard Exp $ +# $Id: back_gadfly.py,v 1.16 2002-09-11 01:20:09 richard Exp $ __doc__ = ''' About Gadfly ============ @@ -82,7 +82,7 @@ class Database(FileStorage, hyperdb.Database, roundupdb.Database): # additional transaction support for external files and the like self.transactions = [] - db = config.GADFLY_DATABASE + db = getattr(config, 'GADFLY_DATABASE', ('database', self.dir)) if len(db) == 2: # ensure files are group readable and writable os.umask(0002) -- 2.30.2