summaryrefslogtreecommitdiff
path: root/pycodestyle.py
diff options
context:
space:
mode:
Diffstat (limited to 'pycodestyle.py')
-rwxr-xr-xpycodestyle.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pycodestyle.py b/pycodestyle.py
index e2e4b96..adf743c 100755
--- a/pycodestyle.py
+++ b/pycodestyle.py
@@ -497,8 +497,7 @@ def missing_whitespace_after_keyword(logical_line, tokens):
tok0.string not in SINGLETONS and
tok0.string not in ('async', 'await') and
tok1.string not in ':\n'):
- line, pos = tok0.end
- yield pos, "E275 missing whitespace after keyword"
+ yield tok0.end, "E275 missing whitespace after keyword"
@register_check