From a566e040f76f39296161b15d471a858cdb60ee47 Mon Sep 17 00:00:00 2001 From: Vladimir Iakovlev Date: Sun, 15 Oct 2017 16:16:43 +0200 Subject: [PATCH] #N/A: Fix deprecation warnings --- thefuck/rules/prove_recursively.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thefuck/rules/prove_recursively.py b/thefuck/rules/prove_recursively.py index fad5a63..224a4e6 100644 --- a/thefuck/rules/prove_recursively.py +++ b/thefuck/rules/prove_recursively.py @@ -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:]))