Merge pull request #61 from josegonzalez/patch-4
Fix disabling event sources
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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: | ... | ... |
-
Please register or login to post a comment