# HG changeset patch # User Sylvain Thénault # Date 1255705891 -7200 # Node ID 95e8c3a9698a813c43d5a9b02efb83702846ae97 # Parent 78596919ede382a70cfcd2376231b2c19840b0ba update prototype diff -r 78596919ede3 -r 95e8c3a9698a server/migractions.py --- a/server/migractions.py Fri Oct 16 16:29:46 2009 +0200 +++ b/server/migractions.py Fri Oct 16 17:11:31 2009 +0200 @@ -1083,10 +1083,10 @@ return session return self.cnx.request() - def cmd_create_entity(self, etype, *args, **kwargs): + def cmd_create_entity(self, etype, **kwargs): """add a new entity of the given type""" commit = kwargs.pop('commit', False) - entity = self._cw.create_entity(etype, *args, **kwargs) + entity = self._cw.create_entity(etype, **kwargs) if commit: self.commit() return entity