From a9709dd958a63c7d0775a2ca25d667d94201b195 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Wed, 15 May 2024 16:51:50 +0200 Subject: [PATCH] add missing whitespace to please linter --- osclib/freeze_command.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/osclib/freeze_command.py b/osclib/freeze_command.py index 3a915a43..474a8125 100644 --- a/osclib/freeze_command.py +++ b/osclib/freeze_command.py @@ -243,18 +243,18 @@ class FreezeCommand(object): targeturl = self.api.makeurl(['source', self.prj, '000release-packages', 'weakremovers.inc'], {'comment': 'Update weakremovers.inc'}) oldinc = osc.core.http_GET(targeturl).read() - targeturl_exists=True + targeturl_exists = True except HTTPError: - targeturl_exists=False + targeturl_exists = False try: sourceurl = self.api.makeurl(['source', self.api.project, '000release-packages', 'weakremovers.inc']) inc = osc.core.http_GET(sourceurl).read() - sourceurl_exists=True + sourceurl_exists = True except HTTPError: - sourceurl_exists=False + sourceurl_exists = False if targeturl_exists != sourceurl_exists: raise Exception("weakremover.inc doesn't exist in both Staging and Parent project, please fix") - if not(targeturl_exists) and not(sourceurl_exists): + if not (targeturl_exists) and not (sourceurl_exists): # nothing to do return if inc != oldinc: