diff options
author | Luke Macken <lmacken@redhat.com> | 2008-01-18 00:12:07 -0500 |
---|---|---|
committer | Luke Macken <lmacken@redhat.com> | 2008-01-18 00:12:07 -0500 |
commit | 411980a5058b3286ee12b3ed168fc40461b24e44 (patch) | |
tree | 89d677dce46b0f978f9298a4cd15cef660512471 /funcweb/funcweb | |
parent | 76261e87bfd054129ed53d8a3124e75e90b4ec10 (diff) | |
download | func-411980a5058b3286ee12b3ed168fc40461b24e44.tar.gz func-411980a5058b3286ee12b3ed168fc40461b24e44.tar.xz func-411980a5058b3286ee12b3ed168fc40461b24e44.zip |
Default to an empty string instead of None in our funcweb.run method
Diffstat (limited to 'funcweb/funcweb')
-rw-r--r-- | funcweb/funcweb/controllers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/funcweb/funcweb/controllers.py b/funcweb/funcweb/controllers.py index 1ffdef6..0d74a50 100644 --- a/funcweb/funcweb/controllers.py +++ b/funcweb/funcweb/controllers.py @@ -37,7 +37,7 @@ class Root(controllers.RootController): index = minions # start with our minion view, for now @expose(template="funcweb.templates.run") - def run(self, minion="*", module=None, method=None, arguments=None): + def run(self, minion="*", module=None, method=None, arguments=''): fc = Client(minion) results = getattr(getattr(fc, module), method)(*arguments.split()) cmd = "%s.%s.%s(%s)" % (minion, module, method, arguments) |