diff --git a/services/client-updates-daemon b/services/client-updates-daemon index 4dabf1203..b8402ec32 100755 --- a/services/client-updates-daemon +++ b/services/client-updates-daemon @@ -464,6 +464,7 @@ class UpdatesDaemon(dbus.service.Object): def _is_system_changed(self): with self.__is_working_mutex: + entropy = Entropy() locked = entropy.resources_check_lock() if locked: @@ -472,14 +473,6 @@ class UpdatesDaemon(dbus.service.Object): entropy.destroy() return False # resources are locked, nothing changed yet :P - # acquire resources lock - acquired = entropy.resources_create_lock() - if not acquired: - if DAEMON_DEBUG: - write_output("__run_fetcher: resources locked during acquire") - entropy.destroy() - return False - try: last_mtime = self.__last_system_db_mtime @@ -496,8 +489,6 @@ class UpdatesDaemon(dbus.service.Object): return changed finally: - # unlock resources - entropy.resources_remove_lock() # say goodbye entropy.destroy()