Merge branch 'patch-1' of skovorodkin/flake8

This commit is contained in:
Ian Cordasco 2016-10-24 06:39:11 -05:00
commit 0285359a14
No known key found for this signature in database
GPG key ID: 656D3395E4A9791A

View file

@ -141,7 +141,7 @@ def make_temporary_directory_from(destination, directory):
def find_modified_files(lazy):
diff_index = piped_process(
['git', 'diff-index', '--cached', '--name-only',
['git', 'diff-index', '' if lazy else '--cached', '--name-only',
'--diff-filter=ACMRTUXB', 'HEAD'],
)