SoftwareManager/plugin.py: - small cleanup and fix. This is for #112
[enigma2.git] / lib / python / Plugins / SystemPlugins / SoftwareManager / plugin.py
index 6162d8a5f68378a6f114e1d5aaef99ba67303e5f..4a016dc86b2ff79afb2e755db3c5c908e5b40c74 100755 (executable)
@@ -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)