summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-10-15 09:57:49 -0400
committerRob Crittenden <rcritten@redhat.com>2008-10-15 09:57:49 -0400
commite7937f294445d53396f7fb87d52eb4d4c9b97110 (patch)
treee05225e348533a9095d098bebd58b5cd51e0cad1
parentf7c044495ae22d372fb064dbacfe0ff027c437a7 (diff)
downloadfreeipa-e7937f294445d53396f7fb87d52eb4d4c9b97110.tar.gz
freeipa-e7937f294445d53396f7fb87d52eb4d4c9b97110.tar.xz
freeipa-e7937f294445d53396f7fb87d52eb4d4c9b97110.zip
Add missing * to *kw to make it pass named arguments instead of positional
-rw-r--r--ipalib/crud.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/crud.py b/ipalib/crud.py
index 5cd7b0a41..ba4d57187 100644
--- a/ipalib/crud.py
+++ b/ipalib/crud.py
@@ -70,7 +70,7 @@ class CrudBackend(backend.Backend):
Base class defining generic CRUD backend API.
"""
- def create(self, *kw):
+ def create(self, **kw):
"""
Create a new entry.
@@ -102,7 +102,7 @@ class CrudBackend(backend.Backend):
"""
raise NotImplementedError('%s.retrieve()' % self.name)
- def update(self, primary_key, *kw):
+ def update(self, primary_key, **kw):
"""
Update an existing entry.