Skip to content
Permalink
Browse files

remove extra spaces

  • Loading branch information...
sdpython committed Jul 5, 2015
1 parent b1e8b3b commit ef6c2d6126db866c3912b0c0552eb8b5a29709a8
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/pyquickhelper/jenkinshelper/jenkins_server.py
@@ -183,9 +183,9 @@ def get_cmd_standalone(job, pythonexe, winpython, anaconda, anaconda2, platform,
cmd = cmd.replace("__PYTHON__", os.path.dirname(pythonexe)) \
.replace("__PORT__", str(port))
elif "[update]" in spl:
cmd = "%s -c 'import pymyinstall;pymyinstall.update_all(temp_folder='build/update_modules', verbose=True)" % pythonexe
cmd = "%s\\python -c \"import pymyinstall;pymyinstall.update_all(temp_folder='build/update_modules', verbose=True)\"" % pythonexe
elif "[winpython_update]" in spl:
cmd = "%s -c 'import pymyinstall;pymyinstall.update_all(temp_folder='build/update_modules', verbose=True)" % winpython
cmd = "%s\\python -c \"import pymyinstall;pymyinstall.update_all(temp_folder='build/update_modules', verbose=True)\"" % winpython
else:
raise JenkinsExtException("cannot interpret job: " + job)
return cmd
@@ -889,7 +889,7 @@ def setup_jenkins_server(self,
gpar = None
elif gitrepo is None:
raise JenkinsJobException(
"gitrepo cannot be none if standalone is not defined")
"gitrepo cannot be none if standalone is not defined,\njob=" + str(job))
elif gitrepo.endswith(".git"):
gpar = gitrepo
else:

0 comments on commit ef6c2d6

Please sign in to comment.
You can’t perform that action at this time.