]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Minor typo correction.
authorPedro Algarvio <pedro@algarvio.me>
Tue, 3 Jul 2007 18:00:42 +0000 (18:00 +0000)
committerPedro Algarvio <pedro@algarvio.me>
Tue, 3 Jul 2007 18:00:42 +0000 (18:00 +0000)
babel/messages/catalog.py

index 0faf2e8441d33991f1dce441d5038386618678eb..f5a9a72dc298760d4b5c0ed5683bbdc275d3dfb7 100644 (file)
@@ -469,7 +469,7 @@ class Catalog(object):
             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 @@ class Catalog(object):
         :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):