From f525772c0d95057323531289418445cd7d625bb0 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Tue, 25 Jan 2011 01:36:01 +0000 Subject: use timestamp.gmtime() for timestamps rather than time() or datetime --- cloudinit/DataSourceEc2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit/DataSourceEc2.py') diff --git a/cloudinit/DataSourceEc2.py b/cloudinit/DataSourceEc2.py index fc8fac5a..1c0edc59 100644 --- a/cloudinit/DataSourceEc2.py +++ b/cloudinit/DataSourceEc2.py @@ -108,7 +108,7 @@ class DataSourceEc2(DataSource.DataSource): cloudinit.log.warning("waiting for metadata service at %s\n" % url) cloudinit.log.warning(" %s [%02s/%s]: %s\n" % - (time.strftime("%H:%M:%S"), x+1, sleeps, reason)) + (time.strftime("%H:%M:%S",time.gmtime()), x+1, sleeps, reason)) time.sleep(sleeptime) cloudinit.log.critical("giving up on md after %i seconds\n" % -- cgit v1.2.3