extend listAllCategories
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@760 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -2578,8 +2578,8 @@ class etpDatabase:
|
||||
|
||||
def listAllCategories(self):
|
||||
dbLog.log(ETP_LOGPRI_INFO,ETP_LOGLEVEL_VERBOSE,"listAllCategories: called.")
|
||||
self.cursor.execute('SELECT categories.category FROM baseinfo,categories WHERE baseinfo.idcategory = categories.idcategory')
|
||||
return self.fetchall2set(self.cursor.fetchall())
|
||||
self.cursor.execute('SELECT categories.idcategory,categories.category FROM baseinfo,categories WHERE baseinfo.idcategory = categories.idcategory')
|
||||
return self.cursor.fetchall()
|
||||
|
||||
def listConfigProtectDirectories(self, mask = False):
|
||||
dbLog.log(ETP_LOGPRI_INFO,ETP_LOGLEVEL_VERBOSE,"listConfigProtectDirectories: called.")
|
||||
|
||||
Reference in New Issue
Block a user