Mercurial > p > roundup > code
diff roundup/backends/back_gadfly.py @ 1109:0971a614ff1b
default value for GADFLY_DATABASE
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 11 Sep 2002 01:20:09 +0000 |
| parents | 32e41ddf2edb |
| children | 22517f9e3b1e |
line wrap: on
line diff
--- a/roundup/backends/back_gadfly.py Wed Sep 11 01:19:45 2002 +0000 +++ b/roundup/backends/back_gadfly.py Wed Sep 11 01:20:09 2002 +0000 @@ -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 @@ # 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)
