--- a/hooks/syncsources.py Fri Jun 17 18:50:13 2011 +0200
+++ b/hooks/syncsources.py Fri Jun 17 18:53:33 2011 +0200
@@ -136,7 +136,7 @@
if not session.deleted_in_transaction(schemacfg.eid):
source.add_schema_config(schemacfg, checkonly=checkonly)
elif session.deleted_in_transaction(schemacfg.eid):
- source.delete_schema_config(schemacfg, checkonly=checkonly)
+ source.del_schema_config(schemacfg, checkonly=checkonly)
else:
source.update_schema_config(schemacfg, checkonly=checkonly)
@@ -164,5 +164,4 @@
def __call__(self):
SourceMappingChangedOp.get_instance(self._cw).add_data(
(self._cw.entity_from_eid(self.eidfrom),
- self._cw.entity_from_eid(self.eidto)) )
-
+ self._cw.entity_from_eid(self.eidto).repo_source) )