From 86c3ae40000ece50a570d2eeed088b17809bffca Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 28 May 2014 17:49:17 +0200 Subject: [PATCH 1/1] oops this was meant in the previous commit --- sfa/importer/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfa/importer/__init__.py b/sfa/importer/__init__.py index 94d17537..e1c3a289 100644 --- a/sfa/importer/__init__.py +++ b/sfa/importer/__init__.py @@ -118,7 +118,7 @@ class Importer: generic=Generic.the_flavour() importer_class = generic.importer_class() if importer_class: - begin_time=datetime.now() + begin_time=datetime.utcnow() self.logger.info (30*'=') self.logger.info ("Starting import on %s, using class %s from flavour %s"%\ (begin_time,importer_class.__name__,generic.flavour)) @@ -126,7 +126,7 @@ class Importer: if testbed_importer: testbed_importer.add_options(options) testbed_importer.run (options) - end_time=datetime.now() + end_time=datetime.utcnow() duration=end_time-begin_time self.logger.info("Import took %s"%duration) self.logger.info (30*'=') -- 2.45.2