diff frontends/src/jp/base.py @ 971:8ca5c990ed92

jp: "disco" subcommand, moved into a new "info" subcommand + added "version" subcommand which get software version
author Goffi <goffi@goffi.org>
date Wed, 02 Apr 2014 12:31:15 +0200
parents 2e052998c7eb
children d87aa6bdb0b4
line wrap: on
line diff
--- a/frontends/src/jp/base.py	Wed Apr 02 12:11:07 2014 +0200
+++ b/frontends/src/jp/base.py	Wed Apr 02 12:31:15 2014 +0200
@@ -223,8 +223,8 @@
         """
         # FIXME: need better exit codes
 
-        def cant_connect():
-            error(_(u"Can't connect profile"))
+        def cant_connect(failure):
+            error(_(u"Can't connect profile [%s]") % failure)
             self.quit(1)
 
         self.profile = self.bridge.getProfileName(self.args.profile)