1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-20 01:28:56 +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): def get_new_command(command):
executable = _get_executable(command) ex = _get_executable(command)
name = get_package(executable) n = get_package(ex)
formatme = shell.and_('sudo apt-get install {}', '{}') f = shell.and_('sudo apt-get install {}', '{}')
return formatme.format(name, command.script) return f.format(n, command.script)