diff options
author | makkalot <makkalot@gmail.com> | 2008-06-30 14:55:13 +0300 |
---|---|---|
committer | makkalot <makkalot@gmail.com> | 2008-06-30 14:55:13 +0300 |
commit | 2be806e517880542d2d33eb733846c741ca70b1b (patch) | |
tree | 516d2b59004c008474f46577ab6c20a78b755deb /func | |
parent | ca6a80e2faaf3b12802130a39c333d2d2a172289 (diff) | |
download | func-2be806e517880542d2d33eb733846c741ca70b1b.tar.gz func-2be806e517880542d2d33eb733846c741ca70b1b.tar.xz func-2be806e517880542d2d33eb733846c741ca70b1b.zip |
adding also the boolean to test to see if it works
Diffstat (limited to 'func')
-rw-r--r-- | func/minion/modules/echo.py | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/func/minion/modules/echo.py b/func/minion/modules/echo.py index 39af619..31ecf5f 100644 --- a/func/minion/modules/echo.py +++ b/func/minion/modules/echo.py @@ -47,6 +47,12 @@ class EchoTest(func_module.FuncModule): return command + def run_boolean(self,command): + """ + Run boolean + """ + return command + def register_method_args(self): """ Implementing the argument getter @@ -111,6 +117,15 @@ class EchoTest(func_module.FuncModule): } }, 'description':'Returns back a hash' + }, + 'run_boolean':{ + 'args': + { + 'command':{ + 'type':'boolean', + 'optional':False + } + }, + 'description':'Returns back a boolean' } - } |