File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -129,12 +129,12 @@ def get_merging_scheme_from_job(cls, job):
129
129
if not parent_merging_scheme ['ignore_parent_command' ]:
130
130
gp = parent .parents [0 ]
131
131
gp_params = gp .processing_parameters
132
- gp_cmd = gp_params . command
133
-
134
- phms = qdb .util .human_merging_scheme (
135
- parent_cmd_name , parent_merging_scheme , gp_cmd . name ,
136
- gp_cmd .merging_scheme , parent_parameters , [] ,
137
- gp_params .values )
132
+ if gp_params is not None :
133
+ gp_cmd = gp_params . command
134
+ phms = qdb .util .human_merging_scheme (
135
+ parent_cmd_name , parent_merging_scheme ,
136
+ gp_cmd .name , gp_cmd . merging_scheme ,
137
+ parent_parameters , [], gp_params .values )
138
138
139
139
hms = qdb .util .human_merging_scheme (
140
140
acmd .name , acmd .merging_scheme ,
You can’t perform that action at this time.
0 commit comments