projects
/
python-collate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
156a5c4
)
set_default: Forgot to break.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sat, 13 Feb 2010 06:02:30 +0000
(22:02 -0800)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sat, 13 Feb 2010 06:02:30 +0000
(22:02 -0800)
collate/__init__.py
patch
|
blob
|
history
diff --git
a/collate/__init__.py
b/collate/__init__.py
index 0f501705efe13ae4cfae0da818a033c5ba5a3319..157f29aad3f96f821917588aa6df7d578a8f8f44 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