| |
@@ -10150,7 +10150,8 @@
|
| |
target = tinfo['name']
|
| |
policy_data['target'] = target
|
| |
|
| |
- t_opts = params.get('opts', {})
|
| |
+ # we may have param['opts'] that is explicitly None
|
| |
+ t_opts = params.get('opts') or {}
|
| |
policy_data['scratch'] = t_opts.get('scratch', False)
|
| |
|
| |
return policy_data
|
| |
Fixes: https://pagure.io/koji/issue/4065