- 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']),))