equal
deleted
inserted
replaced
110 return method.__doc__ |
110 return method.__doc__ |
111 else : |
111 else : |
112 try : |
112 try : |
113 module, addr = self.nexus.getModuleInfo(cmd) |
113 module, addr = self.nexus.getModuleInfo(cmd) |
114 |
114 |
115 return "%s from %s. Events: %s. See `commands %s' for a list of commands" % (module.name, addr, ', '.join(module.event_types), module.name) |
115 return "%s from %s. See `commands %s' for a list of commands" % (module.name, addr, module.name) |
116 |
116 |
117 except KeyError : |
117 except KeyError : |
118 raise ReplyException("No command/module called `%s'. See `help commands'" % cmd) |
118 raise ReplyException("No command/module called `%s'. See `help commands'" % cmd) |
119 |
119 |
120 def cmd_commands (self, module=None) : |
120 def cmd_commands (self, module=None) : |