# HG changeset patch # User palgarvio # Date 1181848431 0 # Node ID ecc04be42086e830a9131f814a841cd93aa88ee7 # Parent 7a5a7bf39d3d28287858f190b94297e8e0863b72 Fixed a bug introduced in [106]. diff --git a/babel/messages/pofile.py b/babel/messages/pofile.py --- 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[:]