[virt-tools-list] [virt-manager PATCH 2/2] translation: fix usage of translate function
Pavel Hrdina
phrdina at redhat.com
Tue Jul 26 07:50:47 UTC 2016
Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
virtinst/storage.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/virtinst/storage.py b/virtinst/storage.py
index 2a42eca..4f547a0 100644
--- a/virtinst/storage.py
+++ b/virtinst/storage.py
@@ -903,14 +903,14 @@ class StorageVolume(_StorageObject):
if allocation > avail:
return (True, _("There is not enough free space on the storage "
"pool to create the volume. "
- "(%d M requested allocation > %d M available)" %
+ "(%d M requested allocation > %d M available)") %
((allocation / (1024 * 1024)),
- (avail / (1024 * 1024)))))
+ (avail / (1024 * 1024))))
elif capacity > avail:
return (False, _("The requested volume capacity will exceed the "
"available pool space when the volume is fully "
"allocated. "
- "(%d M requested capacity > %d M available)" %
+ "(%d M requested capacity > %d M available)") %
((capacity / (1024 * 1024)),
- (avail / (1024 * 1024)))))
+ (avail / (1024 * 1024))))
return (False, "")
--
2.9.2
More information about the virt-tools-list
mailing list