[DEBUG] correct the branch argument in checkout

This commit is contained in:
Edouard DUPIN 2018-10-23 22:25:32 +02:00
parent 9f11499b34
commit 7f88a7cc34

View File

@ -31,7 +31,7 @@ def execute(arguments):
if elem.get_option_name() == "remote":
debug.info("find remote name: '" + elem.get_arg() + "'")
argument_remote_name = elem.get_arg()
if elem.get_option_name() == "branch":
elif elem.get_option_name() == "branch":
branch_to_checkout = elem.get_arg()
else:
debug.error("Wrong argument: '" + elem.get_option_name() + "' '" + elem.get_arg() + "'")