From 4005973a517189036a98175f61ae1006914ef323 Mon Sep 17 00:00:00 2001 From: "Krzysztof A. Adamski" Date: Sat, 16 Aug 2008 17:00:53 +0200 Subject: Make exception more verbose. --- func/overlord/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'func/overlord') diff --git a/func/overlord/client.py b/func/overlord/client.py index 54777e3..9e4b0dc 100755 --- a/func/overlord/client.py +++ b/func/overlord/client.py @@ -294,7 +294,7 @@ class Overlord(object): if method in self.methods.keys(): return self.methods[method](*args) else: - raise AttributeError("no such method") + raise AttributeError("No such local method: %s" % method) if not self.delegate: #delegation is turned off, so run normally return self.run_direct(module, method, args, nforks) -- cgit