]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
stup doesn't exist and this code block is never encountered, probably a remnant from
authorPhilip Jenvey <pjenvey@underboss.org>
Sat, 16 Jun 2007 22:25:11 +0000 (22:25 +0000)
committerPhilip Jenvey <pjenvey@underboss.org>
Sat, 16 Jun 2007 22:25:11 +0000 (22:25 +0000)
a cut paste

babel/messages/extract.py

index e0ea99f8f60d1a4c0b767e3d1fa7b424986871b1..05c29f890c6a167b00387a90414f583661490e4f 100644 (file)
@@ -337,8 +337,6 @@ def extract_python(fileobj, keywords, comment_tags, options):
                 messages = []
                 translator_comments = []
             elif tok == STRING:
-                if lineno is None:
-                    lineno = stup[0]
                 # Unwrap quotes in a safe manner
                 buf.append(eval(value, {'__builtins__':{}}, {}))
             elif tok == OP and value == ',':