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