changeset 122:bfe7357a4754

stup doesn't exist and this code block is never encountered, probably a remnant from a cut paste
author pjenvey
date Sat, 16 Jun 2007 22:25:11 +0000
parents 78a9033b6839
children c38b2cb52528
files babel/messages/extract.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/babel/messages/extract.py
+++ b/babel/messages/extract.py
@@ -337,8 +337,6 @@
                 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 == ',':
Copyright (C) 2012-2017 Edgewall Software