Skip to content

Commit

Permalink
add missing whitespace to please linter
Browse files Browse the repository at this point in the history
  • Loading branch information
fcrozat committed May 13, 2024
1 parent 47fcb44 commit eba8d15
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions osclib/freeze_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,18 +243,18 @@ def copy_weakremovers(self):
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:
Expand Down

0 comments on commit eba8d15

Please sign in to comment.