1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-05 18:31:10 +01:00

#N/A: Fix deprecation warnings

This commit is contained in:
Vladimir Iakovlev 2017-10-15 16:16:43 +02:00
parent 10a4e910e9
commit a566e040f7

View File

@ -16,7 +16,7 @@ def _isdir(part):
@for_app('prove')
def match(command):
return (
'NOTESTS' in command.stdout
'NOTESTS' in command.output
and not any(_is_recursive(part) for part in command.script_parts[1:])
and any(_isdir(part) for part in command.script_parts[1:]))