def __init__(self):
dbus.service.Object.__init__(self)
#initialize variables that will be used during create and run
self.bus = None
self.package_dir = None
self.main_loop = None
self._timeout = False
self.dbus_name = None
self.xml_obj = BTOxml()
# cached D-BUS interfaces for _check_polkit_privilege()
self.dbus_info = None
self.polkit = None
self.progress_thread = None
self.enforce_polkit = True
#Enable translation for strings used
bindtextdomain(DOMAIN, LOCALEDIR)
textdomain(DOMAIN)
评论列表
文章目录