hooks/syncschema.py
changeset 2882 d7f0646c65f7
parent 2847 c2ee28f4d4b1
child 2883 57ff19806026
--- a/hooks/syncschema.py	Mon Aug 17 18:35:09 2009 +0200
+++ b/hooks/syncschema.py	Mon Aug 17 18:35:46 2009 +0200
@@ -142,7 +142,6 @@
     """
 
     def __init__(self, session):
-        self.repo = session.repo
         hook.SingleLastOperation.__init__(self, session)
 
     def commit_event(self):
@@ -152,7 +151,6 @@
 class MemSchemaOperation(hook.Operation):
     """base class for schema operations"""
     def __init__(self, session, kobj=None, **kwargs):
-        self.schema = session.schema
         self.kobj = kobj
         # once Operation.__init__ has been called, event may be triggered, so
         # do this last !