From: acid-burn Date: Thu, 31 Dec 2009 07:29:47 +0000 (+0100) Subject: SoftwareManager/plugin.py: - small cleanup and fix. This is for #112 X-Git-Tag: 2.7.0~10^2~1 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/aea461bb9dc35ab20a78bd141c785bcb5967e616 SoftwareManager/plugin.py: - small cleanup and fix. This is for #112 --- diff --git a/lib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py b/lib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py index 6162d8a5..4a016dc8 100755 --- a/lib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py +++ b/lib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py @@ -567,9 +567,7 @@ class PluginManager(Screen, DreamInfoHandler): for foundtag in prerequisites["tag"]: if categorytag == foundtag: attributes = package[0]["attributes"] - print "ATTRIBUTES",attributes if attributes.has_key("packagetype"): - print "PACKAGETYPE",attributes["packagetype"] if attributes["packagetype"] == "internal": continue self.packetlist.append([attributes["name"], attributes["details"], attributes["shortdescription"], attributes["packagename"]]) @@ -696,11 +694,12 @@ class PluginManager(Screen, DreamInfoHandler): self.session.openWithCallback(self.ExecuteReboot, MessageBox, _("Install or remove finished.") +" "+_("Do you want to reboot your Dreambox?"), MessageBox.TYPE_YESNO) def ExecuteReboot(self, result): + print "RESULT im ExecuteReboot",result if result is None: return if result is False: self.reloadPluginlist() - self.selectedFiles = None + self.selectedFiles = [] self.detailsClosed(True) if result: quitMainloop(3)