Jose Diaz-Gonzalez

Fix disabling event sources

...@@ -202,7 +202,7 @@ class Context(object): ...@@ -202,7 +202,7 @@ class Context(object):
202 202
203 def disable_event_sources(self): 203 def disable_event_sources(self):
204 for event_source in self.event_sources: 204 for event_source in self.event_sources:
205 - event_source.enable(self.function) 205 + event_source.disable(self.function)
206 206
207 def create(self): 207 def create(self):
208 if self.policy: 208 if self.policy:
......