mirror of
https://github.com/nvbn/thefuck.git
synced 2025-04-15 15:20:42 +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
|
from thefuck.specific.git import git_support
|
||||||
|
|
||||||
|
|
||||||
@git_support
|
@git_support
|
||||||
def match(command):
|
def match(command):
|
||||||
return 'git: \'lock\' is not a git command.' in command.output
|
return 'git: \'lock\' is not a git command.' in command.output
|
||||||
|
|
||||||
|
|
||||||
@git_support
|
@git_support
|
||||||
def get_new_command(command):
|
def get_new_command(command):
|
||||||
return command.script.replace('lock', 'log', 1)
|
return command.script.replace('lock', 'log', 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user