Mercurial > babel > old > mirror
changeset 110:ecc04be42086
Fixed a bug introduced in [106].
author | palgarvio |
---|---|
date | Thu, 14 Jun 2007 19:13:51 +0000 |
parents | 7a5a7bf39d3d |
children | a4389948c992 |
files | babel/messages/pofile.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/babel/messages/pofile.py +++ b/babel/messages/pofile.py @@ -64,7 +64,7 @@ ([], []) (('bar', 'baz'), ('', '')) ([('main.py', 3)], set([])) - (['An auto comment'], ['A user comment']) + (['A user comment'], ['An auto comment']) :param fileobj: the file-like object to read the PO file from :return: an iterator over ``(message, translation, location)`` tuples @@ -91,7 +91,7 @@ else: string = denormalize(translations[0][1]) catalog.add(msgid, string, list(locations), set(flags), - list(user_comments), list(auto_comments)) + list(auto_comments), list(user_comments)) del messages[:]; del translations[:]; del locations[:]; del flags[:]; del auto_comments[:]; del user_comments[:]