[prev in list] [next in list] [prev in thread] [next in thread]
List: olpc-sugar
Subject: [Sugar-devel] [PATCH 2/3] logcollect: missing newline after date
From: James Cameron <quozl () laptop ! org>
Date: 2014-09-22 1:35:14
Message-ID: 1411349715-19951-2-git-send-email-quozl () laptop ! org
[Download RAW message or body]
Log collections showed meminfo on same line as date.
---
logcollect.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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) )
--
1.8.3.2
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic