File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -64,17 +64,19 @@ def __init__(
6464 else :
6565 self .bosh_file = bosh_file
6666
67- # retry logic - an error on travis is raised randomly, not able to reproduce
68- tries , tries_max = 0 , 7
69- while tries < tries_max :
70- try :
71- with self .bosh_file .open () as f :
72- self .bosh_spec = json .load (f )
73- break
74- except json .decoder .JSONDecodeError :
75- tries += 1
76- if tries == tries_max :
77- raise
67+ with self .bosh_file .open () as f :
68+ self .bosh_spec = json .load (f )
69+ # # retry logic - an error on travis is raised randomly, not able to reproduce
70+ # tries, tries_max = 0, 7
71+ # while tries < tries_max:
72+ # try:
73+ # with self.bosh_file.open() as f:
74+ # self.bosh_spec = json.load(f)
75+ # break
76+ # except json.decoder.JSONDecodeError:
77+ # tries += 1
78+ # if tries == tries_max:
79+ # raise
7880
7981 self .input_spec = self ._prepare_input_spec (names_subset = input_spec_names )
8082 self .output_spec = self ._prepare_output_spec (names_subset = output_spec_names )
You can’t perform that action at this time.
0 commit comments