Skip to content

Commit

Permalink
Fixed using “in” whith non iterable type
Browse files Browse the repository at this point in the history
  • Loading branch information
olevinsky committed Mar 11, 2013
1 parent 38f5b94 commit 3ce6b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/plugins/bases/notify.py
Expand Up @@ -167,7 +167,7 @@ def should_notify(self, group, event):
tags = event.data.get('tags', ())
if not tags:
return False
if not any(v in allowed_tags.get(k) for k, v in tags):
if not any(v in allowed_tags.get(k, ()) for k, v in tags):
return False
return True

Expand Down

0 comments on commit 3ce6b3e

Please sign in to comment.