#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
+2 -2
View File
@@ -1,5 +1,5 @@
from thefuck.specific.archlinux import get_pkgfile, archlinux_env
from thefuck import shells
from thefuck.shells import shell
def match(command):
@@ -9,7 +9,7 @@ def match(command):
def get_new_command(command):
packages = get_pkgfile(command.script)
formatme = shells.and_('{} -S {}', '{}')
formatme = shell.and_('{} -S {}', '{}')
return [formatme.format(pacman, package, command.script)
for package in packages]