- 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:
@@ -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']),))
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user