- fixed an issue with treeupdates table creation

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1150 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2008-02-06 20:51:28 +00:00
parent 68835280e4
commit 26a2f016fc
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -3516,7 +3516,6 @@ class etpDatabase(TextInterface):
self.commitChanges()
def createTreeupdatesactionsBranchColumn(self):
self.checkReadOnly()
try: # if database disk image is malformed, won't raise exception here
self.cursor.execute('ALTER TABLE treeupdatesactions ADD COLUMN branch VARCHAR;')
self.cursor.execute('UPDATE treeupdatesactions SET branch = (?)', (str(etpConst['branch']),))
+2 -1
View File
@@ -6667,6 +6667,7 @@ class SecurityInterface:
# remove temp stuff
self.__cleanup_garbage()
# FIXME: this doesn't seem to work?
if self.advisories_changed:
advtext = darkgreen("Security Advisories: updated successfully")
else:
@@ -6676,7 +6677,7 @@ class SecurityInterface:
advtext,
importance = 2,
type = "info",
header = red(" @@ ")
header = red("@@ ")
)
return 0