don't do this: already defined as a (deprecated) read-only property
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 17 Aug 2009 18:35:46 +0200
changeset 2882 d7f0646c65f7
parent 2881 d1a5b77e42bc
child 2883 57ff19806026
don't do this: already defined as a (deprecated) read-only property
hooks/syncschema.py
--- 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 !