sobjects/supervising.py
branch3.5
changeset 3136 ed303cf3a048
parent 2920 64322aa83a1d
parent 3131 596f893451c0
child 3163 edfe43ceaa35
child 4212 ab6573088b4a
--- a/sobjects/supervising.py	Wed Sep 09 14:38:50 2009 +0200
+++ b/sobjects/supervising.py	Wed Sep 09 15:07:58 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