diff options
author | James Cameron <quozl@laptop.org> | 2014-09-22 01:35:14 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2014-09-24 11:45:08 (GMT) |
commit | b4c7fcad2578e65a9ccd574fa99ca574bdbb86e0 (patch) | |
tree | 9d990cf31c626782ad8fa64f6a628aa3f5ac721c | |
parent | ba891758a26816a1adfcd30b1f804bdf6bc491e3 (diff) |
logcollect: missing newline after date
Log collections showed meminfo on same line as date.
-rw-r--r-- | logcollect.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) ) |