From 2f993f47aebf1bf692a894f0a7529111e73528fa Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@cd1c1023-2f26-0410-ae45-c471fc1f0318> Date: Tue, 27 Nov 2007 15:44:37 +0000 Subject: [PATCH] updated TODO and small addition to openGenericDatabase git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@769 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- TODO | 1 + libraries/databaseTools.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 75a56e738..7e79c5ae1 100644 --- a/TODO +++ b/TODO @@ -2,6 +2,7 @@ TODO list: - server: handle multiple packages for each scope with these abilities: - enable/disable it - purge function + - add package.mask support - remove binkeywords, not used - add external trigger for splashutils - find a way to better handle real smartapps deps diff --git a/libraries/databaseTools.py b/libraries/databaseTools.py index f53f4b872..3b5bb4163 100644 --- a/libraries/databaseTools.py +++ b/libraries/databaseTools.py @@ -106,9 +106,9 @@ def openServerDatabase(readOnly = True, noUpload = True): @description: open a generic client database and returns the pointer. @output: database pointer ''' -def openGenericDatabase(dbfile, dbname = None): +def openGenericDatabase(dbfile, dbname = None, xcache = False): if dbname == None: dbname = "generic" - conn = etpDatabase(readOnly = False, dbFile = dbfile, clientDatabase = True, dbname = dbname, xcache = False) + conn = etpDatabase(readOnly = False, dbFile = dbfile, clientDatabase = True, dbname = dbname, xcache = xcache) return conn def backupClientDatabase():