projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
342c0e7
)
WirelessAccessPoint : append exception.
author
Chang.H.S
<jhs@dev3>
Wed, 12 Dec 2012 05:36:19 +0000
(14:36 +0900)
committer
Chang.H.S
<jhs@dev3>
Wed, 12 Dec 2012 05:36:19 +0000
(14:36 +0900)
lib/python/Plugins/SystemPlugins/WirelessAccessPoint/plugin.py
patch
|
blob
|
history
diff --git
a/lib/python/Plugins/SystemPlugins/WirelessAccessPoint/plugin.py
b/lib/python/Plugins/SystemPlugins/WirelessAccessPoint/plugin.py
index
ff6849d
..
1416e31
100755
(executable)
--- a/
lib/python/Plugins/SystemPlugins/WirelessAccessPoint/plugin.py
+++ b/
lib/python/Plugins/SystemPlugins/WirelessAccessPoint/plugin.py
@@
-523,9
+523,12
@@
class WirelessAccessPoint(Screen,ConfigListScreen):
sysctlList = {}
for line in sysctlLines:
line = line.strip()
- (key,value) = line.split("=")
- key=key.strip()
- value=value.strip()
+ try:
+ (key,value) = line.split("=")
+ key=key.strip()
+ value=value.strip()
+ except:
+ continue
sysctlList[key] = value
sysctlList["net.ipv4.ip_forward"] = str(setValue)
fp = file(sysctlPath, "w")