Add missing * to *kw to make it pass named arguments instead of positional

This commit is contained in:
Rob Crittenden committed 2008-10-15 09:57:49 -04:00
1 parent f7c044495a
commit e7937f2944
1 file changed
+2 -2
+2 -2
View File
@@ -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.