From ae1561876c0193ba22bfdb6fcba52b3c82265cd3 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Jun 19 2020 11:23:59 +0000 Subject: flake8 fix --- diff --git a/builder/kojid b/builder/kojid index 0237c0e..ef51c10 100755 --- a/builder/kojid +++ b/builder/kojid @@ -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': {