f13ab967ea8c284a67fa2d5c8a3f0e585910c258,testing/kfctl/kfctl_go_test.py,,test_build_kfctl_go,#Any#Any#Any#Any#Any#,164

Before Change



  // We need to use retries because if we don"t we see random failures
  // where kfctl just appears to die.
  run_with_retries([
      kfctl_path, "generate", "-V", "all", "--email=" + email, "--zone=" + zone
  ],
                   cwd=app_path)

  // Do not run with retries since it masks errors

After Change



  if not os.path.exists(parent_dir):
    os.makedirs(parent_dir)
  if not os.path.exists(app_path):
    os.makedirs(app_path)

  with open(os.path.join(parent_dir, "tmp.yaml"), "w") as f:
    yaml.dump(config_spec, f)

  // TODO(jlewi): When we switch to KfDef v1beta1 this logic will need to change because 
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: kubeflow/kubeflow
Commit Name: f13ab967ea8c284a67fa2d5c8a3f0e585910c258
Time: 2019-10-03
Author: adhita94@gmail.com
File Name: testing/kfctl/kfctl_go_test.py
Class Name:
Method Name: test_build_kfctl_go


Project Name: okfn-brasil/serenata-de-amor
Commit Name: cef99445ab551931fed507518b85034b97c946ee
Time: 2016-11-09
Author: cuducos@gmail.com
File Name: src/search_suspect_places.py
Class Name:
Method Name: write_csv


Project Name: NervanaSystems/nlp-architect
Commit Name: 650a9bb35b4b0796ee90c5ac0b498af54c32c2e3
Time: 2018-05-08
Author: peteriz@users.noreply.github.com
File Name: core_models/intent_extraction/interactive.py
Class Name:
Method Name:


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 3cedc29788b1471f33f8987f168f5d050ebc23f6
Time: 2015-05-27
Author: ehankland@google.com
File Name: perfkitbenchmarker/vm_util.py
Class Name:
Method Name: GenTempDir