aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-02-20 22:37:55 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-02-20 22:37:55 +0000
commitf4a635a25517d6e644e43537d10b894eab3e524e (patch)
tree52b21a1bb2e390194868f808ab273e4e2bb01af6 /lib/python
parente56b5fe2bef7d16a067a230868fc09a78315f52d (diff)
downloadenigma2-f4a635a25517d6e644e43537d10b894eab3e524e.tar.gz
enigma2-f4a635a25517d6e644e43537d10b894eab3e524e.zip
add some info to debug prints
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/Menu.py1
-rw-r--r--lib/python/Screens/ScanSetup.py2
-rw-r--r--lib/python/Screens/SubserviceSelection.py2
-rw-r--r--lib/python/Screens/TimerEdit.py2
-rw-r--r--lib/python/Screens/TimerEntry.py3
-rw-r--r--lib/python/Screens/Wizard.py8
6 files changed, 8 insertions, 10 deletions
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: