# HG changeset patch # User palgarvio # Date 1183485642 0 # Node ID 576636ba02aa2818ec42a7f26e5eab7a6a060b37 # Parent 2983c718f6e2f8e3244f0fd65df04cb0e06134ba Minor typo correction. diff --git a/babel/messages/catalog.py b/babel/messages/catalog.py --- a/babel/messages/catalog.py +++ b/babel/messages/catalog.py @@ -469,7 +469,7 @@ self._messages[key] = message def add(self, id, string=None, locations=(), flags=(), auto_comments=(), - user_comments=(), old_message=()): + user_comments=(), old_msgid=()): """Add or update the message with the specified ID. >>> catalog = Catalog() @@ -490,7 +490,7 @@ :param user_comments: a sequence of user comments """ self[id] = Message(id, string, list(locations), flags, auto_comments, - user_comments, old_message) + user_comments, old_msgid) def update(self, template, no_fuzzy_matching=False, include_old_msgid=False):