From: Daniel Narvaez <dwnarv...@gmail.com>

It can take several seconds to generate keys on a slow/busy system
and I suspect this is causing intermittent failures in the buildbot
tests. Given the potential length of the operation it seems to be
generally useful to have these logs.
---
 src/jarabe/intro/window.py |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/jarabe/intro/window.py b/src/jarabe/intro/window.py
index a6a2a29..15765f9 100644
--- a/src/jarabe/intro/window.py
+++ b/src/jarabe/intro/window.py
@@ -62,11 +62,14 @@ def create_profile(name, color=None):
         logging.warning('Existing public key %s.pub moved to %s.pub.broken',
                         keypath, keypath)
 
+    logging.debug("Generating user keypair")
+
     cmd = "ssh-keygen -q -t dsa -f %s -C '' -N ''" % (keypath, )
     (s, o) = commands.getstatusoutput(cmd)
     if s != 0:
         logging.error('Could not generate key pair: %d %s', s, o)
 
+    logging.debug("User keypair generated")
 
 class _Page(gtk.VBox):
     __gproperties__ = {
-- 
1.7.10.2

_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to