projects
/
platform
/
upstream
/
crda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ac2353
)
web viewer: fix bug
author
Johannes Berg
<johannes@sipsolutions.net>
Sun, 25 May 2008 00:09:41 +0000
(
02:09
+0200)
committer
Johannes Berg
<johannes@sipsolutions.net>
Sun, 25 May 2008 00:09:41 +0000
(
02:09
+0200)
web/Regulatory.py
patch
|
blob
|
history
diff --git
a/web/Regulatory.py
b/web/Regulatory.py
index
890accf
..
d46fe23
100644
(file)
--- a/
web/Regulatory.py
+++ b/
web/Regulatory.py
@@
-124,8
+124,8
@@
def _get_iso_code(code):
if not _iso_list:
for line in codecs.open('/usr/share/iso-codes/iso_3166.tab', encoding='utf-8'):
line = line.strip()
- c
ode
, name = line.split('\t')
- _iso_list[c
ode
] = name
+ c, name = line.split('\t')
+ _iso_list[c] = name
_iso_list['00'] = 'Debug 1'
_iso_list['01'] = 'Debug 2'
_iso_list['02'] = 'Debug 3'