i18n support for leftover exception messages in volume
Change-Id: I7be168fc587cb717075095cf6e12db19b0884dda
This commit is contained in:
@ -311,7 +311,7 @@ class UnsetVolumeType(command.Command):
|
|||||||
volume_type.id, project_info.id)
|
volume_type.id, project_info.id)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.app.log.error(_("Failed to remove volume type access from"
|
self.app.log.error(_("Failed to remove volume type access from"
|
||||||
" project: ") + str(e))
|
" project: %s") % str(e))
|
||||||
result += 1
|
result += 1
|
||||||
|
|
||||||
if result > 0:
|
if result > 0:
|
||||||
|
Reference in New Issue
Block a user