Merge "fix image unset"

This commit is contained in:
Jenkins 2016-06-06 05:53:25 +00:00 committed by Gerrit Code Review
commit 045622efd5

View File

@ -933,7 +933,7 @@ class UnsetImage(command.Command):
'propret': propret, 'proptotal': proptotal}) 'propret': propret, 'proptotal': proptotal})
raise exceptions.CommandError(msg) raise exceptions.CommandError(msg)
elif tagret > 0: elif tagret > 0:
msg = (_("Failed to unset %(target)s of %(tagtotal)s tags.") msg = (_("Failed to unset %(tagret)s of %(tagtotal)s tags.")
% {'tagret': tagret, 'tagtotal': tagtotal}) % {'tagret': tagret, 'tagtotal': tagtotal})
raise exceptions.CommandError(msg) raise exceptions.CommandError(msg)
elif propret > 0: elif propret > 0: