extend listAllCategories

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@760 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2007-11-23 15:40:41 +00:00
parent 7705613532
commit b06b4e5a57
+2 -2
View File
@@ -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.")