[Neo-report] r2304 gregory - /trunk/neo/neoctl/neoctl.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Sep 16 14:09:50 CEST 2010


Author: gregory
Date: Thu Sep 16 14:09:48 2010
New Revision: 2304

Log:
Explain a raise that is used for the output of neoctl.

Modified:
    trunk/neo/neoctl/neoctl.py

Modified: trunk/neo/neoctl/neoctl.py
==============================================================================
--- trunk/neo/neoctl/neoctl.py [iso-8859-1] (original)
+++ trunk/neo/neoctl/neoctl.py [iso-8859-1] Thu Sep 16 14:09:48 2010
@@ -44,7 +44,7 @@ class NeoCTL(object):
                 # XXX: this burn the CPU
                 self.em.poll(0)
             if self.connection is None:
-                raise NotReadyException
+                raise NotReadyException('not connected')
         return self.connection
 
     def __ask(self, packet):





More information about the Neo-report mailing list