summaryrefslogtreecommitdiffstats
path: root/ipalib/public.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-09-10 14:46:20 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-09-10 14:46:20 +0000
commitcbfacf7c2ee7387dc95494c6231fd9b256bb68cd (patch)
tree40e898e47088bed4a82dd95abdf2ccc24e32a4ab /ipalib/public.py
parent8062075f847199157910114588ea3c27874bdf35 (diff)
downloadfreeipa.git-cbfacf7c2ee7387dc95494c6231fd9b256bb68cd.tar.gz
freeipa.git-cbfacf7c2ee7387dc95494c6231fd9b256bb68cd.tar.xz
freeipa.git-cbfacf7c2ee7387dc95494c6231fd9b256bb68cd.zip
280: Renamed Options.options to takes_options; updated related unit tests
Diffstat (limited to 'ipalib/public.py')
-rw-r--r--ipalib/public.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/public.py b/ipalib/public.py
index 437531d6..7f1929f4 100644
--- a/ipalib/public.py
+++ b/ipalib/public.py
@@ -229,7 +229,7 @@ class Command(plugable.Plugin):
'args',
))
__Option = None
- options = tuple()
+ takes_options = tuple()
takes_args = tuple()
def __init__(self):
@@ -239,7 +239,7 @@ class Command(plugable.Plugin):
return self.takes_args
def get_options(self):
- return self.options
+ return self.takes_options
def __check_args(self):
optional = False
@@ -425,7 +425,7 @@ class Method(Attribute, Command):
Command.__init__(self)
def get_options(self):
- for option in self.options:
+ for option in self.takes_options:
yield option
if self.obj is not None and self.obj.Property is not None:
for proxy in self.obj.Property():