summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2013-02-09 14:06:29 -0800
committerFlorent Xicluna <florent.xicluna@gmail.com>2013-02-09 14:06:29 -0800
commite44a95b8274951fef1ff54cc0cda4e024cf9ad00 (patch)
tree702aaa76867e5685cb7e159d20dcacc21e4acf4a
parentd7f9a49f6bfcb45d0f82256aaca7e4a373e54d63 (diff)
parentf97a1c1605a14bee3115070e836d7ad491c41656 (diff)
downloadpep8-e44a95b8274951fef1ff54cc0cda4e024cf9ad00.tar.gz
Merge pull request #156 from harvimt/f97a1c1605a14bee3115070e836d7ad491c41656
Expand tabs when checking E12 continuation lines. Issue #155
-rwxr-xr-xpep8.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pep8.py b/pep8.py
index 17f9f25..6d718c5 100755
--- a/pep8.py
+++ b/pep8.py
@@ -447,7 +447,7 @@ def continuation_line_indentation(logical_line, tokens, indent_level, verbose):
print("... " + line.rstrip())
# record the initial indent.
- rel_indent[row] = start[1] - indent_level
+ rel_indent[row] = expand_indent(line) - indent_level
if depth:
# a bracket expression in a continuation line.