flake8 fix
This commit is contained in:
parent
baa14dd38e
commit
ae1561876c
1 changed files with 3 additions and 3 deletions
|
|
@ -293,9 +293,9 @@ class BuildRoot(object):
|
|||
# Append opts['plugin_conf'] to enable Mock package signing
|
||||
if 'mock.plugin_conf.sign_enable' in self.config['extra']:
|
||||
# check rest of configuration
|
||||
if 'mock.plugin_conf.sign_cmd' not in self.config['extra'] or \
|
||||
'mock.plugin_conf.sign_opts' not in self.config['extra']:
|
||||
raise koji.GenericError("Tag is not configured properly for mock's sign plugin'")
|
||||
if ('mock.plugin_conf.sign_cmd' not in self.config['extra'] or
|
||||
'mock.plugin_conf.sign_opts' not in self.config['extra']):
|
||||
raise koji.GenericError("Tag is not configured properly for mock's sign plugin'")
|
||||
opts['plugin_conf'] = {
|
||||
'sign_enable': self.config['extra']['mock.plugin_conf.sign_enable'],
|
||||
'sign_opts': {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue