Mercurial > p > roundup > code
diff roundup/backends/back_sqlite.py @ 3609:f2fda3e6fc8b
umask is now configurable (with the same 0002 default)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 27 Apr 2006 04:59:37 +0000 |
| parents | 9020fe58c51c |
| children | f5201bbbc505 |
line wrap: on
line diff
--- a/roundup/backends/back_sqlite.py Thu Apr 27 04:14:48 2006 +0000 +++ b/roundup/backends/back_sqlite.py Thu Apr 27 04:59:37 2006 +0000 @@ -1,4 +1,4 @@ -# $Id: back_sqlite.py,v 1.43 2005-06-08 03:41:21 anthonybaxter Exp $ +# $Id: back_sqlite.py,v 1.44 2006-04-27 04:59:37 richard Exp $ '''Implements a backend for SQLite. See https://pysqlite.sourceforge.net/ for pysqlite info @@ -94,7 +94,7 @@ def open_connection(self): # ensure files are group readable and writable - os.umask(0002) + os.umask(self.config.UMASK) (self.conn, self.cursor) = self.sql_open_connection()
