From 53d499ef8f4ed2078c8379f6815c50f3f110d05c Mon Sep 17 00:00:00 2001 From: Luke Macken Date: Thu, 17 Jan 2008 13:48:12 -0500 Subject: Split up our user-specified arguments when executing a method from funcweb --- funcweb/funcweb/controllers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'funcweb') diff --git a/funcweb/funcweb/controllers.py b/funcweb/funcweb/controllers.py index 5fa6630..fc929d4 100644 --- a/funcweb/funcweb/controllers.py +++ b/funcweb/funcweb/controllers.py @@ -34,7 +34,7 @@ class Root(controllers.RootController): def run(self, minion="*", module=None, method=None, arguments=None): fc = Client(minion) if arguments: - results = getattr(getattr(fc, module), method)(arguments) + results = getattr(getattr(fc, module), method)(*arguments.split()) else: results = getattr(getattr(fc, module), method)() cmd = "%s.%s.%s(%s)" % (minion, module, method, arguments) -- cgit