diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-09-09 21:18:44 +0000 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-09-09 21:18:44 +0000 |
commit | 97b01a48914fbed96b73fe8532bad3b4bd08027e (patch) | |
tree | 626268821b4522b4a729b109a6198e626b4757b2 /ipalib/public.py | |
parent | 21a0bab79ec9cddb98d6d3ab478ea48674eeda06 (diff) | |
download | freeipa.git-97b01a48914fbed96b73fe8532bad3b4bd08027e.tar.gz freeipa.git-97b01a48914fbed96b73fe8532bad3b4bd08027e.tar.xz freeipa.git-97b01a48914fbed96b73fe8532bad3b4bd08027e.zip |
273: Added Command.get_args() method; added corresponding unit tests
Diffstat (limited to 'ipalib/public.py')
-rw-r--r-- | ipalib/public.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/public.py b/ipalib/public.py index 90b3b88a..b22eff0e 100644 --- a/ipalib/public.py +++ b/ipalib/public.py @@ -214,6 +214,9 @@ class Command(plugable.Plugin): options = tuple() takes_args = tuple() + def get_args(self): + return self.takes_args + def get_options(self): return self.options |