summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f3b02d)
raw | patch | inline | side by side (parent: 6f3b02d)
author | jhermann <jhermann@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 22 Nov 2001 15:09:40 +0000 (15:09 +0000) | ||
committer | jhermann <jhermann@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 22 Nov 2001 15:09:40 +0000 (15:09 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@417 57a73879-2fb5-44c3-a270-3262357dd7e2
tools/pygettext.py | patch | blob | history |
diff --git a/tools/pygettext.py b/tools/pygettext.py
index c7c9830c1acfd5e2adb8f8156fc1c934c6780a86..1a67e1e467b02a38348df67cf66aea6797264623 100644 (file)
--- a/tools/pygettext.py
+++ b/tools/pygettext.py
self.__data.append(safe_eval(tstring))
elif ttype not in [tokenize.COMMENT, token.INDENT, token.DEDENT,
token.NEWLINE, tokenize.NL]:
- # warn if we seen anything else than STRING or whitespace
+ # warn if we see anything else than STRING or whitespace
print >>sys.stderr, _('*** %(file)s:%(lineno)s: Seen unexpected token "%(token)s"') % {
'token': tstring, 'file': self.__curfile, 'lineno': self.__lineno}
self.__state = self.__waiting