From b4c7fcad2578e65a9ccd574fa99ca574bdbb86e0 Mon Sep 17 00:00:00 2001 From: James Cameron Date: Mon, 22 Sep 2014 01:35:14 +0000 Subject: logcollect: missing newline after date Log collections showed meminfo on same line as date. --- diff --git a/logcollect.py b/logcollect.py index 10c57b1..5800229 100644 --- a/logcollect.py +++ b/logcollect.py @@ -390,7 +390,7 @@ class LogCollect: # Do not include UUID! s += 'laptop-info-version: 1.0\n' s += 'clock: %f\n' % time.clock() - s += 'date: %s' % time.strftime("%a, %d %b %Y %H:%M:%S +0000", + s += 'date: %s\n' % time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime()) s += 'memfree: %s\n' % self._mp.memfree() s += 'disksize: %s MB\n' % ( self._mp.disksize('/') / (1024*1024) ) -- cgit v0.9.1