Commit 70c99052 authored by Grégory Wisniewski's avatar Grégory Wisniewski

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

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2304 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 21813bff
...@@ -44,7 +44,7 @@ class NeoCTL(object): ...@@ -44,7 +44,7 @@ class NeoCTL(object):
# XXX: this burn the CPU # XXX: this burn the CPU
self.em.poll(0) self.em.poll(0)
if self.connection is None: if self.connection is None:
raise NotReadyException raise NotReadyException('not connected')
return self.connection return self.connection
def __ask(self, packet): def __ask(self, packet):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment