From: Philip Jenvey Date: Sat, 16 Jun 2007 22:25:11 +0000 (+0000) Subject: stup doesn't exist and this code block is never encountered, probably a remnant from X-Git-Tag: 1.0~507 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dff6121163bbb861ddee5e9b9e8a17cea6e5fe2;p=thirdparty%2Fbabel.git stup doesn't exist and this code block is never encountered, probably a remnant from a cut paste --- diff --git a/babel/messages/extract.py b/babel/messages/extract.py index e0ea99f8..05c29f89 100644 --- a/babel/messages/extract.py +++ b/babel/messages/extract.py @@ -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 == ',':