@@ -31,8 +31,8 @@ def run_command(args, debug=False):
31
31
err , out = None , None
32
32
if debug :
33
33
print "cwd[{}]" .format (os .getcwd ())
34
- print "Executing: " + repr (args )
35
- p = Popen (args ,stdout = PIPE ,stderr = PIPE )
34
+ print "Executing: " + repr (args )
35
+ p = Popen (args , stdout = PIPE , stderr = PIPE )
36
36
if p .wait () == 0 :
37
37
out = p .stdout .read ()
38
38
out = out .strip ()
@@ -52,7 +52,7 @@ def update_pom_file(fpath, seldon_core_version, debug=False):
52
52
print "processing [{}]" .format (fpath )
53
53
comp_dir_path = os .path .dirname (fpath )
54
54
os .chdir (comp_dir_path )
55
- args = ["mvn" ,"versions:set" ,"-DnewVersion={seldon_core_version}" .format (** locals ())]
55
+ args = ["mvn" , "versions:set" , "-DnewVersion={seldon_core_version}" .format (** locals ())]
56
56
err , out = run_command (args , debug )
57
57
##pp(out)
58
58
##pp(err)
@@ -117,7 +117,7 @@ def set_version(seldon_core_version, pom_files, chart_yaml_files, values_yaml_fi
117
117
118
118
def main (argv ):
119
119
POM_FILES = ['engine/pom.xml' , 'api-frontend/pom.xml' , 'cluster-manager/pom.xml' ]
120
- CHART_YAML_FILES = ['helm-charts/seldon-core/Chart.yaml' ,'helm-charts/seldon-core-crd/Chart.yaml' ]
120
+ CHART_YAML_FILES = ['helm-charts/seldon-core/Chart.yaml' , 'helm-charts/seldon-core-crd/Chart.yaml' ]
121
121
VALUES_YAML_FILE = 'helm-charts/seldon-core/values.yaml'
122
122
123
123
opts = getOpts (argv [1 :])
0 commit comments