1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 14:48:49 +00:00

changes in another file

This commit is contained in:
@amrit1207! 2019-10-11 09:25:11 +05:30
parent cdaeb999c9
commit a45bb00601

View File

@ -44,7 +44,7 @@ def match(command):
def get_new_command(command):
executable = _get_executable(command)
name = get_package(executable)
formatme = shell.and_('sudo apt-get install {}', '{}')
return formatme.format(name, command.script)
ex = _get_executable(command)
n = get_package(ex)
f = shell.and_('sudo apt-get install {}', '{}')
return f.format(n, command.script)