- when installing a package, datecreation will be updated accordingly to the system date
- fixed few things here and there - started to work on spritz packages search git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@994 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -1543,6 +1543,11 @@ class etpDatabase(TextInterface):
|
||||
raise exceptionTools.CorruptionError("CorruptionError: I tried to insert compile flags but then, fetching it returned -1. There's something broken.")
|
||||
self.commitChanges()
|
||||
|
||||
# date expressed the unix way
|
||||
def setDateCreation(self, idpackage, date):
|
||||
self.cursor.execute('UPDATE extrainfo SET datecreation = (?) WHERE idpackage = (?)', (str(date),idpackage,))
|
||||
self.commitChanges()
|
||||
|
||||
def setDigest(self, idpackage, digest):
|
||||
self.cursor.execute('UPDATE extrainfo SET digest = (?) WHERE idpackage = (?)', (digest,idpackage,))
|
||||
self.commitChanges()
|
||||
|
||||
Reference in New Issue
Block a user