asyncjob: Rename function that collides with gtk method

This commit is contained in:
Cole Robinson 2013-04-13 13:41:59 -04:00
parent baf531f710
commit b8f1bbd3de
2 changed files with 4 additions and 4 deletions

View File

@ -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):

View File

@ -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()