File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -58,12 +58,17 @@ def write_testconfig(env_name, is_py2=False):
58
58
'destination' : os .path .join (_ENVHELP_OUTPUT_DIR , confs_name ),
59
59
'destination_suffix' : "-py%s" % ('2' if is_py2 else '3' ,),
60
60
}
61
+
61
62
if is_py2 :
62
- overrides .update (** {
63
- 'mig_code' : '/usr/src/app/mig' ,
64
- 'mig_certs' : '/usr/src/app/envhelp/output/certs' ,
65
- 'mig_state' : '/usr/src/app/envhelp/output/state' ,
66
- })
63
+ conf_dir_path = '/usr/src/app'
64
+ else :
65
+ conf_dir_path = _ENVHELP_OUTPUT_DIR
66
+ overrides .update (** {
67
+ 'mig_code' : os .path .join (conf_dir_path , 'mig' ),
68
+ 'mig_certs' : os .path .join (conf_dir_path , 'certs' ),
69
+ 'mig_state' : os .path .join (conf_dir_path , 'state' ),
70
+ })
71
+
67
72
generate_confs (_ENVHELP_OUTPUT_DIR , ** overrides )
68
73
69
74
You can’t perform that action at this time.
0 commit comments