#2328 koji-gc: fix flake8
Merged 2 years ago by tkopecek. Opened 2 years ago by tkopecek.
tkopecek/koji flake-fix  into  master

file modified
+4 -3
@@ -304,9 +304,10 @@ 

              opts['use_bootstrap'] = bool(self.config['extra']['mock.use_bootstrap'])

  

          # it must be allowed in kojid.conf *and* in tag's extra info

-         if not self.options.mock_bootstrap_image and \

-             self.config['extra'].get('mock.bootstrap_image'):

-                 self.logger.warning("Mock bootstrap image requested by buildroot %d, but forbidden on builder" % self.id)

+         if (not self.options.mock_bootstrap_image and

+            self.config['extra'].get('mock.bootstrap_image')):

+             self.logger.warning("Mock bootstrap image requested by buildroot %d, "

+                                 "but forbidden on builder" % self.id)

          opts['bootstrap_image'] = self.options.mock_bootstrap_image and \

              self.config['extra'].get('mock.bootstrap_image')