Skip to content

Commit

Permalink
qvm-template: Replace "template-install-time" with "template-installt…
Browse files Browse the repository at this point in the history
…ime" for consistency
  • Loading branch information
WillyPillow committed Aug 29, 2020
1 parent 32a38c7 commit d65d3c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qubesadmin/tools/qvm_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ def verify(rpmfile, reponame):
tpl.features['template-buildtime'] = \
str(datetime.datetime.fromtimestamp(
int(package_hdr[rpm.RPMTAG_BUILDTIME])))
tpl.features['template-install-time'] = \
tpl.features['template-installtime'] = \
str(datetime.datetime.today())
tpl.features['template-license'] = \
package_hdr[rpm.RPMTAG_LICENSE]
Expand Down Expand Up @@ -1033,7 +1033,7 @@ def info_to_machine_output(tpls, replace_newline=True):
assert False and 'Unknown operation'

def append_vm(vm, status):
append(query_local(vm), status, vm.features['template-install-time'])
append(query_local(vm), status, vm.features['template-installtime'])

if not (args.installed or args.available or args.extras or args.upgrades):
args.all = True
Expand Down

0 comments on commit d65d3c7

Please sign in to comment.