use session.vreg.config instead
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 13 Aug 2009 11:07:00 +0200
changeset 2812 b260ed87a650
parent 2811 e1f3b8e7f19a
child 2815 ced3daf78e24
use session.vreg.config instead
sobjects/supervising.py
--- a/sobjects/supervising.py	Thu Aug 13 11:06:46 2009 +0200
+++ b/sobjects/supervising.py	Thu Aug 13 11:07:00 2009 +0200
@@ -23,7 +23,7 @@
     accepts = ('Any',)
 
     def call(self, session, *args):
-        dest = self.config['supervising-addrs']
+        dest = session.vreg.config['supervising-addrs']
         if not dest: # no supervisors, don't do this for nothing...
             return
         self.session = session