git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e640a12
)
return None instead of -1 in case of invalid index
author
Felix Domke
<tmbinc@elitedvb.net>
Mon, 24 Sep 2007 00:50:15 +0000
(
00:50
+0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Mon, 24 Sep 2007 00:50:15 +0000
(
00:50
+0000)
lib/python/Components/Sources/List.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/Sources/List.py
b/lib/python/Components/Sources/List.py
index d7221296f7cfa364ee89bead5332bf8c50dfb96e..82504401f866cf4a5531d3534f0aef17957348e1 100644
(file)
--- a/
lib/python/Components/Sources/List.py
+++ b/
lib/python/Components/Sources/List.py
@@
-49,7
+49,7
@@
to generate HTML."""
if self.master is not None:
return self.master.index
else:
- return
-1
+ return
None
setCurrentIndex = setIndex