updated TODO and small addition to openGenericDatabase

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@769 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2007-11-27 15:44:37 +00:00
parent 3a8a59570d
commit 2f993f47ae
2 changed files with 3 additions and 2 deletions

View File

@@ -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():