From 26a2f016fc96c0517f142017fcef7639ea70cb9f Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@cd1c1023-2f26-0410-ae45-c471fc1f0318> Date: Wed, 6 Feb 2008 20:51:28 +0000 Subject: [PATCH] - fixed an issue with treeupdates table creation git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1150 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- libraries/databaseTools.py | 1 - libraries/entropy.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/databaseTools.py b/libraries/databaseTools.py index 752ea59b9..69471ffea 100644 --- a/libraries/databaseTools.py +++ b/libraries/databaseTools.py @@ -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']),)) diff --git a/libraries/entropy.py b/libraries/entropy.py index 9aa4156ef..dd1d433db 100644 --- a/libraries/entropy.py +++ b/libraries/entropy.py @@ -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