mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
create: s/Gb/GB/ for storage units
This commit is contained in:
parent
9679c841b8
commit
b7a533a451
@ -1960,7 +1960,7 @@ class vmmCreate(vmmGObjectUI):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def pretty_storage(self, size):
|
def pretty_storage(self, size):
|
||||||
return "%.1f Gb" % float(size)
|
return "%.1f GB" % float(size)
|
||||||
|
|
||||||
def pretty_memory(self, mem):
|
def pretty_memory(self, mem):
|
||||||
return "%d MB" % (mem / 1024.0)
|
return "%d MB" % (mem / 1024.0)
|
||||||
|
Loading…
Reference in New Issue
Block a user