diff --git a/virtManager/asyncjob.py b/virtManager/asyncjob.py index 479431fab..71c20b897 100644 --- a/virtManager/asyncjob.py +++ b/virtManager/asyncjob.py @@ -212,9 +212,9 @@ class vmmAsyncJob(vmmGObjectUI): return (None, None) return self._error_info - def set_data(self, data): + def set_extra_data(self, data): self._data = data - def get_data(self): + def get_extra_data(self): return self._data def get_meter(self): diff --git a/virtManager/packageutils.py b/virtManager/packageutils.py index 149b8c37e..910459511 100644 --- a/virtManager/packageutils.py +++ b/virtManager/packageutils.py @@ -68,7 +68,7 @@ def check_packagekit(errbox, packages, ishv): if error: return - found = progWin.get_data() + found = progWin.get_extra_data() not_found = [x for x in packages if x not in found] logging.debug("Missing packages: %s", not_found) @@ -120,7 +120,7 @@ def _do_async_search(asyncjob, session, pk_control, packages): logging.exception("Error searching for installed packages") asyncjob.set_error(str(e), "".join(traceback.format_exc())) - asyncjob.set_data(found) + asyncjob.set_extra_data(found) def packagekit_install(package_list): session = dbus.SessionBus()