[Sugar-devel] [PATCH 2/3] logcollect: missing newline after date

James Cameron quozl at laptop.org
Sun Sep 21 21:35:14 EDT 2014


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



More information about the Sugar-devel mailing list