osclib/stagingapi: superseded_request(): revert poor indentation changes.
Human eyes can vertically. One does not write math homework like: 1. y = mx + b b = y - mx or 1. y = mx + b b = y - mx one write it 1. y = mx + b b = y - mx
This commit is contained in:
parent
bc03a99e46
commit
a909b40461
@ -529,7 +529,7 @@ class StagingAPI(object):
|
||||
replace_old = request_old.find('state').get('name') in ['revoked', 'superseded']
|
||||
|
||||
if (request_new.find('action').get('type') == 'delete' and
|
||||
request_old.find('action').get('type') == 'delete'):
|
||||
request_old.find('action').get('type') == 'delete'):
|
||||
# Both delete requests.
|
||||
if replace_old:
|
||||
# Pointless since identical requests, but user desires.
|
||||
@ -543,7 +543,7 @@ class StagingAPI(object):
|
||||
return stage_info, True
|
||||
|
||||
if (request_new.find('action').get('type') !=
|
||||
request_old.find('action').get('type')):
|
||||
request_old.find('action').get('type')):
|
||||
# One delete and one submit.
|
||||
if replace_old:
|
||||
if self.ring_packages.get(target_package):
|
||||
|
Loading…
x
Reference in New Issue
Block a user