summaryrefslogtreecommitdiffstats
path: root/ipalib/crud.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-01-14 13:51:37 -0700
committerJason Gerard DeRose <jderose@redhat.com>2009-01-14 13:51:37 -0700
commit79422d048959a7f6a5fff981caf91de924788e85 (patch)
tree6907dd9a19be1bab578270c1c88bd662409d7ca4 /ipalib/crud.py
parent09e2f5d615a17943ba572fd02a2e0d9b15ca1076 (diff)
downloadfreeipa-79422d048959a7f6a5fff981caf91de924788e85.tar.gz
freeipa-79422d048959a7f6a5fff981caf91de924788e85.tar.xz
freeipa-79422d048959a7f6a5fff981caf91de924788e85.zip
All unit tests now working (except for doctests and Rob's xmlrpc tests)
Diffstat (limited to 'ipalib/crud.py')
-rw-r--r--ipalib/crud.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/crud.py b/ipalib/crud.py
index 867f9fe1f..d34a7c57c 100644
--- a/ipalib/crud.py
+++ b/ipalib/crud.py
@@ -56,7 +56,7 @@ class Mod(frontend.Method):
def get_options(self):
for param in self.obj.params_minus_pk():
- yield param.__clone__(required=False)
+ yield param.clone(required=False)
for option in self.takes_options:
yield option
@@ -67,7 +67,7 @@ class Find(frontend.Method):
def get_options(self):
for param in self.obj.params_minus_pk():
- yield param.__clone__(required=False)
+ yield param.clone(required=False)
for option in self.takes_options:
yield option