summaryrefslogtreecommitdiff
path: root/utils/reindent.py
diff options
context:
space:
mode:
authorDaniel Neuhäuser <ich@danielneuhaeuser.de>2010-05-01 19:17:52 +0200
committerDaniel Neuhäuser <ich@danielneuhaeuser.de>2010-05-01 19:17:52 +0200
commitf6bf9b13ff40ae8dfbc9afe19db0da3fcbac8f93 (patch)
tree8e0d0a241c215040ebc33f1deb33c875bcaa5dfa /utils/reindent.py
parent47557af776de7772da88a5d3ceaad62bf9edaef6 (diff)
downloadsphinx-git-f6bf9b13ff40ae8dfbc9afe19db0da3fcbac8f93.tar.gz
Fixed issue #1
Diffstat (limited to 'utils/reindent.py')
-rwxr-xr-xutils/reindent.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/reindent.py b/utils/reindent.py
index c499f671e..bcb6b4343 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,