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:13:36 +02:00
parent 985b2d9ec9
commit 10a4e910e9
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ from thefuck.specific.brew import brew_available
@for_app('brew')
def match(command):
return (u'install' in command.script_parts
and u'brew cask install' in command.stderr)
and u'brew cask install' in command.output)
@eager

View File

@ -3,7 +3,7 @@ from thefuck.utils import eager, get_closest, for_app
@for_app('fab')
def match(command):
return 'Warning: Command(s) not found:' in command.stderr
return 'Warning: Command(s) not found:' in command.output
# We need different behavior then in get_all_matched_commands.