sobjects/supervising.py
branchstable
changeset 3131 596f893451c0
parent 2650 18aec79ec3a3
child 3136 ed303cf3a048
--- a/sobjects/supervising.py	Wed Sep 09 12:29:06 2009 +0200
+++ b/sobjects/supervising.py	Wed Sep 09 14:05:20 2009 +0200
@@ -23,6 +23,8 @@
     accepts = ('Any',)
 
     def call(self, session, *args):
+        if session.is_super_session or session.repo.config.repairing:
+            return # ignore changes triggered by hooks or maintainance shell
         dest = self.config['supervising-addrs']
         if not dest: # no supervisors, don't do this for nothing...
             return