summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDasIch <dasdasich@googlemail.com>2010-05-01 19:17:52 +0200
committerDasIch <dasdasich@googlemail.com>2010-05-01 19:17:52 +0200
commita25745aa06d3cdad97988e8795fb2492133a55c8 (patch)
tree8e0d0a241c215040ebc33f1deb33c875bcaa5dfa /utils
parent455ebde09dc55d91088d15a89fab0f2dfd1d3b51 (diff)
downloadsphinx-a25745aa06d3cdad97988e8795fb2492133a55c8.tar.gz
Fixed issue #1
Diffstat (limited to 'utils')
-rwxr-xr-xutils/reindent.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/reindent.py b/utils/reindent.py
index c499f671..bcb6b434 100755
--- a/utils/reindent.py
+++ b/utils/reindent.py
@@ -244,12 +244,13 @@ class Reindenter:
return line
# Line-eater for tokenize.
- def tokeneater(self, type, token, (sline, scol), end, line,
+ def tokeneater(self, type, token, scell, end, line,
INDENT=tokenize.INDENT,
DEDENT=tokenize.DEDENT,
NEWLINE=tokenize.NEWLINE,
COMMENT=tokenize.COMMENT,
NL=tokenize.NL):
+ sline, scol = scell
if type == NEWLINE:
# A program statement, or ENDMARKER, will eventually follow,