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:
dd5eb76
)
convert parental black/whitelist to uppercase on file read
author
Andreas Monzner
<
[email protected]
>
Mon, 5 Feb 2007 21:40:12 +0000
(21:40 +0000)
committer
Andreas Monzner
<
[email protected]
>
Mon, 5 Feb 2007 21:40:12 +0000
(21:40 +0000)
lib/python/Components/ParentalControl.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/ParentalControl.py
b/lib/python/Components/ParentalControl.py
index 057537e1ff318cc1453771a1ef6ec4aae9b38671..c32388044d473d29965f4c43531b39438c1bd0b8 100644
(file)
--- a/
lib/python/Components/ParentalControl.py
+++ b/
lib/python/Components/ParentalControl.py
@@
-153,7
+153,7
@@
class ParentalControl:
file = open(resolveFilename(SCOPE_CONFIG, "whitelist"), 'r')
lines = file.readlines()
for x in lines:
- self.whitelist.append(x.strip())
+ self.whitelist.append(x.strip()
.upper()
)
file.close
except:
pass
@@
-170,7
+170,7
@@
class ParentalControl:
file = open(resolveFilename(SCOPE_CONFIG, "blacklist"), 'r')
lines = file.readlines()
for x in lines:
- self.blacklist.append(x.strip())
+ self.blacklist.append(x.strip()
.upper()
)
file.close
except:
pass