[DEBUG] remove error code
This commit is contained in:
parent
8c3c73f2ff
commit
31f2815230
@ -85,13 +85,16 @@ def execute(_arguments):
|
|||||||
conf.store()
|
conf.store()
|
||||||
|
|
||||||
debug.info("Clone the manifest")
|
debug.info("Clone the manifest")
|
||||||
commands.clone(env.get_island_path_manifest(), address_manifest, branch_name=branch):
|
ret_values = commands.clone(env.get_island_path_manifest(), address_manifest, branch_name=branch)
|
||||||
|
|
||||||
if ret == False:
|
if ret_values == False:
|
||||||
debug.info("'" + ret + "'")
|
debug.info("'" + str(ret_values) + "'")
|
||||||
debug.error("Init does not work")
|
debug.error("Init does not work")
|
||||||
return False
|
return False
|
||||||
return True
|
|
||||||
|
debug.info("Init done correctly ...")
|
||||||
|
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -99,11 +99,10 @@ def execute(_arguments):
|
|||||||
else:
|
else:
|
||||||
address_manifest += "/"
|
address_manifest += "/"
|
||||||
address_manifest += elem.name
|
address_manifest += elem.name
|
||||||
+ " --branch " + elem.branch + " --origin " + elem.select_remote["name"] + " " + git_repo_path
|
|
||||||
debug.info("clone the repo")
|
debug.info("clone the repo")
|
||||||
ret = commands.clone(git_repo_path, address_manifest, branch_name=elem.branch, origin=elem.select_remote["name"]):
|
ret = commands.clone(git_repo_path, address_manifest, branch_name=elem.branch, origin=elem.select_remote["name"])
|
||||||
if ret != "" \
|
if ret[0] != "" \
|
||||||
and ret != False:
|
and ret[0] != False:
|
||||||
# all is good, ready to get the system work corectly
|
# all is good, ready to get the system work corectly
|
||||||
debug.info("'" + str(ret) + "'")
|
debug.info("'" + str(ret) + "'")
|
||||||
debug.error("Clone repository does not work ... ")
|
debug.error("Clone repository does not work ... ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user