projects
/
python-collate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
set_default: Forgot to break.
[python-collate.git]
/
collate
/
__init__.py
diff --git
a/collate/__init__.py
b/collate/__init__.py
index
0f50170
..
157f29a
100644
(file)
--- a/
collate/__init__.py
+++ b/
collate/__init__.py
@@
-34,6
+34,8
@@
def set_default(backend=None, locale=None, encoding=None):
c = backend.Collator(locale, encoding_)
except collate.errors.InvalidLocaleError:
pass
+ else:
+ break
if c is not None:
collator = c
default = backend