# HG changeset patch # User Sylvain Thénault # Date 1252497920 -7200 # Node ID 596f893451c0380ec0dc0519a4398cf5a62124d1 # Parent 2486163c4630a8447f94cf79e9b5d85d6b31ef75 [supervision] ignore internal changes diff -r 2486163c4630 -r 596f893451c0 sobjects/supervising.py --- 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