summaryrefslogtreecommitdiffstats
path: root/funcweb
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2008-01-17 13:48:12 -0500
committerLuke Macken <lmacken@redhat.com>2008-01-17 13:48:12 -0500
commit53d499ef8f4ed2078c8379f6815c50f3f110d05c (patch)
tree10d5f9e8a2339dd822cd32afdf0a3fe0cace7144 /funcweb
parent49af9d04615179afcbe170c1920117d7d1078412 (diff)
downloadthird_party-func-53d499ef8f4ed2078c8379f6815c50f3f110d05c.tar.gz
third_party-func-53d499ef8f4ed2078c8379f6815c50f3f110d05c.tar.xz
third_party-func-53d499ef8f4ed2078c8379f6815c50f3f110d05c.zip
Split up our user-specified arguments when executing a method from funcweb
Diffstat (limited to 'funcweb')
-rw-r--r--funcweb/funcweb/controllers.py2
1 files changed, 1 insertions, 1 deletions
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)