Skip to content

Commit

Permalink
Typos fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LevineHuang authored Apr 2, 2018
1 parent be1cd38 commit 575e809
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def run_command(args, debug=False):
err, out = None, None
if debug:
print "cwd[{}]".format(os.getcwd())
print "Executing: "+repr(args)
p = Popen(args,stdout=PIPE,stderr=PIPE)
print "Executing: " + repr(args)
p = Popen(args, stdout=PIPE, stderr=PIPE)
if p.wait() == 0:
out = p.stdout.read()
out = out.strip()
Expand All @@ -52,7 +52,7 @@ def update_pom_file(fpath, seldon_core_version, debug=False):
print "processing [{}]".format(fpath)
comp_dir_path = os.path.dirname(fpath)
os.chdir(comp_dir_path)
args = ["mvn","versions:set","-DnewVersion={seldon_core_version}".format(**locals())]
args = ["mvn", "versions:set", "-DnewVersion={seldon_core_version}".format(**locals())]
err, out = run_command(args, debug)
##pp(out)
##pp(err)
Expand Down Expand Up @@ -117,7 +117,7 @@ def set_version(seldon_core_version, pom_files, chart_yaml_files, values_yaml_fi

def main(argv):
POM_FILES = ['engine/pom.xml', 'api-frontend/pom.xml', 'cluster-manager/pom.xml']
CHART_YAML_FILES = ['helm-charts/seldon-core/Chart.yaml','helm-charts/seldon-core-crd/Chart.yaml']
CHART_YAML_FILES = ['helm-charts/seldon-core/Chart.yaml', 'helm-charts/seldon-core-crd/Chart.yaml']
VALUES_YAML_FILE = 'helm-charts/seldon-core/values.yaml'

opts = getOpts(argv[1:])
Expand Down

0 comments on commit 575e809

Please sign in to comment.