changeset 10573 | e4a807b49b58 |
parent 10571 | 2cd8933fd875 |
child 10645 | 57c60a96de70 |
--- a/server/migractions.py Thu Aug 06 15:24:16 2015 +0200 +++ b/server/migractions.py Thu Aug 06 15:21:58 2015 +0200 @@ -60,9 +60,6 @@ from cubicweb.server.sqlutils import sqlexec, SQL_PREFIX -def mock_object(**params): - return type('Mock', (), params)() - class ClearGroupMap(hook.Hook): __regid__ = 'cw.migration.clear_group_mapping' __select__ = hook.Hook.__select__ & is_instance('CWGroup')