diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2013-07-07 23:22:30 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2013-07-07 23:22:30 +0200 |
commit | f32955b692c5243eb17c36ff3136d27043136d3f (patch) | |
tree | 17c1d41d606723d7f349dc6b83d5303f4bc4f441 /babel | |
parent | 876181237dade7357853286635fc125cc96f5c3f (diff) | |
parent | 58c997c259cc06485f51ff5437cfff1e34aed160 (diff) | |
download | babel-f32955b692c5243eb17c36ff3136d27043136d3f.tar.gz |
Merge branch 'master' of github.com:mitsuhiko/babel
Diffstat (limited to 'babel')
-rw-r--r-- | babel/messages/pofile.py | 2 |
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]), |