list all deletereq request as in-ring

This commit is contained in:
Max Lin 2015-09-09 16:18:20 +08:00
parent 3cf6c7c55f
commit dc5e797df1

View File

@ -44,6 +44,13 @@ class ListCommand:
else: else:
ring = self.api.project ring = self.api.project
# list all deletereq as in-ring
if action.get('type') == 'delete':
if ring:
ring = ring + " (delete request)"
else:
ring = '{} is non-ring package (delete request)'.format(target_package)
# This condition is quite moot as we dispatched stuff # This condition is quite moot as we dispatched stuff
# above anyway # above anyway
if ring: if ring: