1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-19 09:08:47 +00:00

Remove redundant else

This commit is contained in:
David 2018-01-03 21:38:42 +00:00
parent 3c0cba290c
commit 7b5e703f50

View File

@ -7,7 +7,6 @@ from thefuck.types import Command
def output(request): def output(request):
if not request.param: if not request.param:
return '' return ''
else:
return '''fatal: The current branch {} has no upstream branch. return '''fatal: The current branch {} has no upstream branch.
To push the current branch and set the remote as upstream, use To push the current branch and set the remote as upstream, use