remove debug
authoracid-burn <acidburn@opendreambox.org>
Wed, 5 Nov 2008 21:39:18 +0000 (22:39 +0100)
committerAndreas Oberritter <obi@saftware.de>
Thu, 6 Nov 2008 00:47:05 +0000 (01:47 +0100)
lib/python/Screens/NetworkSetup.py

index 6ace185..7c9dc82 100755 (executable)
@@ -413,7 +413,7 @@ class AdapterSetup(Screen, ConfigListScreen, HelpableScreen):
                                        self.aps = self.w.getNetworkList()
                                        if self.aps is not None:
                                                print "[NetworkSetup.py] got Accespoints!"
                                        self.aps = self.w.getNetworkList()
                                        if self.aps is not None:
                                                print "[NetworkSetup.py] got Accespoints!"
-                                               print self.aps
+                                               #print self.aps
                                                for ap in self.aps:
                                                        a = self.aps[ap]
                                                        if a['active']:
                                                for ap in self.aps:
                                                        a = self.aps[ap]
                                                        if a['active']:
@@ -957,18 +957,13 @@ class AdapterSetupConfiguration(Screen, HelpableScreen):
                        iStatus.stopWlanConsole()
 
        def getInfoCB(self,data,status):
                        iStatus.stopWlanConsole()
 
        def getInfoCB(self,data,status):
-               print "im getInfoCB"
                if data is not None:
                        if data is True:
                                if status is not None:
                if data is not None:
                        if data is True:
                                if status is not None:
-                                       print "im getInfoCB status"
-                                       print "acesspoint",status[self.iface]["acesspoint"]
                                        if status[self.iface]["acesspoint"] == "No Connection" or status[self.iface]["acesspoint"] == "Not-Associated" or status[self.iface]["acesspoint"] == False:
                                        if status[self.iface]["acesspoint"] == "No Connection" or status[self.iface]["acesspoint"] == "Not-Associated" or status[self.iface]["acesspoint"] == False:
-                                               print "setting statuspix 1"
                                                self["statuspic"].setPixmapNum(1)
                                        else:
                                                self["statuspic"].setPixmapNum(0)
                                                self["statuspic"].setPixmapNum(1)
                                        else:
                                                self["statuspic"].setPixmapNum(0)
-                                               print "setting statuspix 0"
                                        self["statuspic"].show()
 
 class NetworkAdapterTest(Screen):      
                                        self["statuspic"].show()
 
 class NetworkAdapterTest(Screen):