qvm-template: Change size unit from kB to MB.
This commit is contained in:
parent
d0fb975958
commit
5c5758783b
@ -38,7 +38,7 @@ class Template(typing.NamedTuple):
|
||||
'Name',
|
||||
'Version',
|
||||
'Reponame',
|
||||
'Size (kB)',
|
||||
'Size (MB)',
|
||||
'Build Time',
|
||||
'Install Time',
|
||||
'License',
|
||||
@ -53,7 +53,7 @@ class Template(typing.NamedTuple):
|
||||
entry['name'],
|
||||
'%s:%s-%s' % (entry['epoch'], entry['version'], entry['release']),
|
||||
entry['reponame'],
|
||||
int(entry['size']) // 1000,
|
||||
int(entry['size']) // 1000000,
|
||||
entry['buildtime'],
|
||||
entry['installtime'],
|
||||
entry['license'],
|
||||
|
Loading…
Reference in New Issue
Block a user