# HG changeset patch # User palgarvio # Date 1181848431 0 # Node ID 0fee7666cccbf2458ecdbb28a6a15d0d3e807841 # Parent fadbba1d89c82ba3aa7dd75426e95bcd14eca3f2 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[:]