From: Felix Domke Date: Mon, 20 Feb 2006 22:37:55 +0000 (+0000) Subject: add some info to debug prints X-Git-Tag: 2.6.0~4110 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/f4a635a25517d6e644e43537d10b894eab3e524e?hp=e56b5fe2bef7d16a067a230868fc09a78315f52d add some info to debug prints --- diff --git a/lib/python/Screens/Menu.py b/lib/python/Screens/Menu.py index e1af589a..bba36282 100644 --- a/lib/python/Screens/Menu.py +++ b/lib/python/Screens/Menu.py @@ -90,7 +90,6 @@ class Menu(Screen): # string (as we want to reference # stuff which is just imported) # FIXME. somehow - print arg if arg[0] != "": exec "from " + arg[0] + " import *" diff --git a/lib/python/Screens/ScanSetup.py b/lib/python/Screens/ScanSetup.py index 1ccbfd99..99cb0ca8 100644 --- a/lib/python/Screens/ScanSetup.py +++ b/lib/python/Screens/ScanSetup.py @@ -10,7 +10,7 @@ from Components.Label import Label from enigma import eDVBFrontendParametersSatellite, eComponentScan def getInitialTransponderList(tlist, pos): - print pos + print "pos", pos list = nimmanager.getTransponders(pos) for x in list: diff --git a/lib/python/Screens/SubserviceSelection.py b/lib/python/Screens/SubserviceSelection.py index 0aa34b61..58710568 100644 --- a/lib/python/Screens/SubserviceSelection.py +++ b/lib/python/Screens/SubserviceSelection.py @@ -21,7 +21,7 @@ class SubserviceSelection(Screen): self.subservices = subservices - print subservices + print "subservices", subservices tlist = [] if isinstance(subservices, iSubserviceListPtr): n = subservices.getNumberOfSubservices() diff --git a/lib/python/Screens/TimerEdit.py b/lib/python/Screens/TimerEdit.py index bd4b64d3..761b2b48 100644 --- a/lib/python/Screens/TimerEdit.py +++ b/lib/python/Screens/TimerEdit.py @@ -182,7 +182,7 @@ class TimerSanityConflict(Screen): def __init__(self, session, timer): Screen.__init__(self, session) self.timer = timer - print timer + print "TimerSanityConflict", timer self["timer1"] = TimerList(self.getTimerList(timer[0])) if len(timer) > 1: diff --git a/lib/python/Screens/TimerEntry.py b/lib/python/Screens/TimerEntry.py index fef525f0..3aa56800 100644 --- a/lib/python/Screens/TimerEntry.py +++ b/lib/python/Screens/TimerEntry.py @@ -184,7 +184,7 @@ class TimerEntry(Screen): self[widget].l.setList(self.list) def newConfig(self): - print self["config"].getCurrent() + print "newConfig", self["config"].getCurrent() if self["config"].getCurrent() == self.timerTypeEntry: self.createSetup("config") if self["config"].getCurrent() == self.frequencyEntry: @@ -237,7 +237,6 @@ class TimerEntry(Screen): def getTimestamp(self, date, mytime): d = time.localtime(date) dt = datetime.datetime(d.tm_year, d.tm_mon, d.tm_mday, mytime[0], mytime[1]) - print dt return int(mktime(dt.timetuple())) def keyGo(self): diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index b0b2502d..43931576 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -23,7 +23,7 @@ class Wizard(Screen, HelpableScreen): self.lastStep = 0 def startElement(self, name, attrs): - print name + print "startElement", name self.currContent = name if (name == "step"): self.lastStep += 1 @@ -195,7 +195,7 @@ class Wizard(Screen, HelpableScreen): def runCode(self, code): if code != "": - print code + print "code", code exec(code) def updateValues(self): @@ -209,7 +209,7 @@ class Wizard(Screen, HelpableScreen): if self.showStepSlider: self["stepslider"].setValue(self.currStep) - print _(self.wizard[self.currStep]["text"]) + print "wizard text", _(self.wizard[self.currStep]["text"]) self["text"].setText(_(self.wizard[self.currStep]["text"])) self.runCode(self.wizard[self.currStep]["code"]) @@ -231,7 +231,7 @@ class Wizard(Screen, HelpableScreen): self.session.openWithCallback(self.ok, self.wizard[self.currStep]["config"]["screen"]) else: self["config"].instance.setZPosition(2) - print self.wizard[self.currStep]["config"]["screen"] + print "wizard screen", self.wizard[self.currStep]["config"]["screen"] if self.wizard[self.currStep]["config"]["args"] == None: self.configInstance = self.session.instantiateDialog(self.wizard[self.currStep]["config"]["screen"]) else: diff --git a/skin.py b/skin.py index e7c84c42..922b3d7e 100644 --- a/skin.py +++ b/skin.py @@ -205,7 +205,6 @@ def readSkin(screen, skin, name, desktop): if myscreen is None: # try embedded skin - print screen.__dict__ if "parsedSkin" in screen.__dict__: myscreen = screen.parsedSkin elif "skin" in screen.__dict__: