fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
37ef907
)
Fix
author
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 2 Oct 2009 09:41:57 +0000
(11:41 +0200)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 2 Oct 2009 09:41:57 +0000
(11:41 +0200)
apps/api/utils.py
patch
|
blob
|
history
diff --git
a/apps/api/utils.py
b/apps/api/utils.py
index
f6d9b1b
..
f8be8a1
100644
(file)
--- a/
apps/api/utils.py
+++ b/
apps/api/utils.py
@@
-66,7
+66,7
@@
def natural_order(get_key=lambda x: x):
def getter(key):
nkey = get_key(key)
if not isinstance(key, unicode):
def getter(key):
nkey = get_key(key)
if not isinstance(key, unicode):
- ukey = key.decode('utf-8')
+ ukey =
n
key.decode('utf-8')
else:
ukey = nkey
else:
ukey = nkey