mirror of
https://github.com/nvbn/thefuck.git
synced 2025-04-14 06:40:49 +01:00
fixed flake8 issues
This commit is contained in:
parent
a633fb5366
commit
6ec28073ed
@ -1,10 +1,11 @@
|
||||
from thefuck.shells import shell
|
||||
from thefuck.specific.git import git_support
|
||||
|
||||
|
||||
@git_support
|
||||
def match(command):
|
||||
return 'git: \'lock\' is not a git command.' in command.output
|
||||
|
||||
|
||||
@git_support
|
||||
def get_new_command(command):
|
||||
return command.script.replace('lock', 'log', 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user