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

remove fstring to be compatible with python 3.5

remove fstring to be compatible with python 3.5
This commit is contained in:
Ryan Callahan 2021-04-12 18:39:47 -04:00
parent 789fd2f4cd
commit 74907acd4f
No known key found for this signature in database
GPG Key ID: 1EA116782D6C6338

View File

@ -4,7 +4,7 @@ from thefuck.utils import for_app
@for_app('rvm', at_least=2) @for_app('rvm', at_least=2)
def match(command): def match(command):
args = command.script_parts args = command.script_parts
pattern = f"""RVM is not a function, selecting rubies with 'rvm use ...' will not work. pattern = """RVM is not a function, selecting rubies with 'rvm use ...' will not work.
You need to change your terminal emulator preferences to allow login shell. You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command. Sometimes it is required to use `/bin/bash --login` as the command.