From c766282d2d316dd8f6f35e56a074f0b42994cfb2 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Tue, 7 Feb 2012 23:17:53 +0100 Subject: [PATCH] dom0: minor get_start_time fix --- dom0/qvm-core/qubes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index 0eb6eb33..fec75312 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -592,7 +592,7 @@ class QubesVm(object): start_time = xs.read('', "/vm/%s/start_time" % str(uuid)) if start_time != '': - return datetime.datetime.fromtimestamp(float(start_time)) + return datetime.fromtimestamp(float(start_time)) else: return None