]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Remove redundant assignment (#1167)
authorTomas R. <tomas.roun8@gmail.com>
Mon, 13 Jan 2025 11:50:16 +0000 (12:50 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Jan 2025 11:50:16 +0000 (13:50 +0200)
babel/messages/catalog.py

index 1036ab82690ce41cc23bde270b29e991ab4a3628..272ec65414f00fe6b0626ea49d9391412879817b 100644 (file)
@@ -679,7 +679,6 @@ class Catalog:
             current.user_comments = list(distinct(current.user_comments +
                                                   message.user_comments))
             current.flags |= message.flags
-            message = current
         elif id == '':
             # special treatment for the header message
             self.mime_headers = message_from_string(message.string).items()