[entropy.db] complete API docstring and refactoring work

This commit is contained in:
Fabio Erculiani
2009-08-15 22:27:41 +02:00
parent ec3e35ed54
commit 89062bf8f3
18 changed files with 1207 additions and 1262 deletions
+2 -2
View File
@@ -326,7 +326,7 @@ class UpdatesDaemon(dbus.service.Object):
_("updates available."),),
urgency = 'critical'
)
self.__system_db_hash = entropy.clientDbconn.database_checksum(
self.__system_db_hash = entropy.clientDbconn.checksum(
do_order = True, strict = False)
self.__updates = update[:]
del self.__updates_atoms[:]
@@ -384,7 +384,7 @@ class UpdatesDaemon(dbus.service.Object):
def get_updates(self):
entropy = Entropy()
curr_hash = entropy.clientDbconn.database_checksum(
curr_hash = entropy.clientDbconn.checksum(
do_order = True, strict = False)
if curr_hash == self.__system_db_hash:
return self.__updates