projects
/
matthijs
/
upstream
/
django-ldapdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix
[matthijs/upstream/django-ldapdb.git]
/
ldapdb
/
models
/
query.py
diff --git
a/ldapdb/models/query.py
b/ldapdb/models/query.py
index 367cd2cec1eadae0cdecc06d241f5f27bf0ed860..a3a960886050664ae035384e3a9a9d10ac986043 100644
(file)
--- a/
ldapdb/models/query.py
+++ b/
ldapdb/models/query.py
@@
-88,7
+88,7
@@
class Query(BaseQuery):
keys = []
for k in ordering:
attr = self.model._meta.get_field(k).db_column
- keys.append(x[1].get(attr,
None
).lower())
+ keys.append(x[1].get(attr,
''
).lower())
return keys
vals = sorted(vals, key=lambda x: getkey(x))