summaryrefslogtreecommitdiff
path: root/babel
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2013-07-07 23:22:30 +0200
committerArmin Ronacher <armin.ronacher@active-4.com>2013-07-07 23:22:30 +0200
commitf32955b692c5243eb17c36ff3136d27043136d3f (patch)
tree17c1d41d606723d7f349dc6b83d5303f4bc4f441 /babel
parent876181237dade7357853286635fc125cc96f5c3f (diff)
parent58c997c259cc06485f51ff5437cfff1e34aed160 (diff)
downloadbabel-f32955b692c5243eb17c36ff3136d27043136d3f.tar.gz
Merge branch 'master' of github.com:mitsuhiko/babel
Diffstat (limited to 'babel')
-rw-r--r--babel/messages/pofile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/babel/messages/pofile.py b/babel/messages/pofile.py
index e8bb01b..5d0d96c 100644
--- a/babel/messages/pofile.py
+++ b/babel/messages/pofile.py
@@ -464,7 +464,7 @@ def write_po(fileobj, catalog, width=76, no_location=False, omit_header=False,
for filename, lineno in message.locations])
_write_comment(locs, prefix=':')
if message.flags:
- _write('#%s\n' % ', '.join([''] + list(message.flags)))
+ _write('#%s\n' % ', '.join([''] + sorted(message.flags)))
if message.previous_id and include_previous:
_write_comment('msgid %s' % _normalize(message.previous_id[0]),