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