1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-11-19 16:26:03 +00:00

#441: Remove shells methods wrappers

This commit is contained in:
nvbn
2016-01-29 13:09:40 +03:00
parent b5dc7aab6d
commit fe07fcaa62
34 changed files with 86 additions and 119 deletions

View File

@@ -1,4 +1,4 @@
from thefuck import shells
from thefuck.shells import shell
from thefuck.utils import replace_argument
from thefuck.specific.git import git_support
@@ -13,5 +13,5 @@ def match(command):
@git_support
def get_new_command(command):
return shells.and_(replace_argument(command.script, 'push', 'pull'),
command.script)
return shell.and_(replace_argument(command.script, 'push', 'pull'),
command.script)