Loading setup.py +2 −1 Original line number Original line Diff line number Diff line Loading @@ -178,7 +178,8 @@ def update_branch(names_from_conf,name_from_list,pars,git_proto): print(bcolors.BOLDWHITE+"Step 0: Running self git pull"+bcolors.ENDC) print(bcolors.BOLDWHITE+"Step 0: Running self git pull"+bcolors.ENDC) selfpullresult = subprocess.check_output("git pull",shell=True) selfpullresult = subprocess.check_output("git pull",shell=True) if selfpullresult.strip()!="Already up-to-date.": if selfpullresult.strip()!="Already up-to-date." and \ selfpullresult.strip()!="Already up to date.": print(bcolors.WARNING+"Wasn't up-to-date. Please, rerun ./setup.py"+bcolors.ENDC) print(bcolors.WARNING+"Wasn't up-to-date. Please, rerun ./setup.py"+bcolors.ENDC) sys.exit() sys.exit() else: else: Loading Loading
setup.py +2 −1 Original line number Original line Diff line number Diff line Loading @@ -178,7 +178,8 @@ def update_branch(names_from_conf,name_from_list,pars,git_proto): print(bcolors.BOLDWHITE+"Step 0: Running self git pull"+bcolors.ENDC) print(bcolors.BOLDWHITE+"Step 0: Running self git pull"+bcolors.ENDC) selfpullresult = subprocess.check_output("git pull",shell=True) selfpullresult = subprocess.check_output("git pull",shell=True) if selfpullresult.strip()!="Already up-to-date.": if selfpullresult.strip()!="Already up-to-date." and \ selfpullresult.strip()!="Already up to date.": print(bcolors.WARNING+"Wasn't up-to-date. Please, rerun ./setup.py"+bcolors.ENDC) print(bcolors.WARNING+"Wasn't up-to-date. Please, rerun ./setup.py"+bcolors.ENDC) sys.exit() sys.exit() else: else: Loading