fix retrieveContent select

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@675 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2007-11-14 10:54:29 +00:00
parent 214263274c
commit 462ea18cbc
+2 -2
View File
@@ -1973,11 +1973,11 @@ class etpDatabase:
extstring = ",type"
try:
self.cursor.execute('SELECT "file'+extstring+'" FROM content WHERE idpackage = "'+str(idpackage)+'"')
self.cursor.execute('SELECT file'+extstring+' FROM content WHERE idpackage = "'+str(idpackage)+'"')
except:
if extended:
self.createContentTypeColumn()
self.cursor.execute('SELECT "file'+extstring+'" FROM content WHERE idpackage = "'+str(idpackage)+'"')
self.cursor.execute('SELECT file'+extstring+' FROM content WHERE idpackage = "'+str(idpackage)+'"')
else:
raise
if extended: