update rescueTools to work with chroots

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@820 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2007-12-10 00:08:21 +00:00
parent f834623688
commit 703abfdfbb
3 changed files with 9 additions and 5 deletions
+2
View File
@@ -1225,6 +1225,8 @@ class etpDatabase:
raise Exception, "I tried to insert a needed library but then, fetching it returned -1. There's something broken."
def addLicense(self,license):
if not license:
license = ' ' # workaround for broken license entries
dbLog.log(ETP_LOGPRI_INFO,ETP_LOGLEVEL_VERBOSE,"addLicense: adding License -> "+str(license))
self.cursor.execute(
'INSERT into licenses VALUES '