diff options
| author | Anthony Sottile <asottile@umich.edu> | 2016-11-22 15:43:05 -0800 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2016-11-29 09:00:33 -0800 |
| commit | 109f5f8888fc6c3b2a82e617af46ed5bc00f8435 (patch) | |
| tree | 6700b7161e28d7733e9d63eb32c05c49afad2901 /src/flake8/processor.py | |
| parent | 348722d77b32ad2ecc064559bb8b4cae08e85549 (diff) | |
| download | flake8-109f5f8888fc6c3b2a82e617af46ed5bc00f8435.tar.gz | |
Simplify and speed up multiprocessing
Diffstat (limited to 'src/flake8/processor.py')
| -rw-r--r-- | src/flake8/processor.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flake8/processor.py b/src/flake8/processor.py index 7cea038..3827a26 100644 --- a/src/flake8/processor.py +++ b/src/flake8/processor.py @@ -367,6 +367,7 @@ def is_eol_token(token): """Check if the token is an end-of-line token.""" return token[0] in NEWLINE or token[4][token[3][1]:].lstrip() == '\\\n' + if COMMENT_WITH_NL: # If on Python 2.6 def is_eol_token(token, _is_eol_token=is_eol_token): """Check if the token is an end-of-line token.""" |
