Skip to content

Commit

Permalink
Complain if validate_signatures isn't in the config.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Nov 15, 2012
1 parent df5aaf2 commit eb12c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedmsg/consumers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def __init__(self, hub):
# This call "completes" registration of this consumer with the hub.
super(FedmsgConsumer, self).__init__(hub)

self.validate_signatures = self.hub.config.get('validate_signatures')
self.validate_signatures = self.hub.config['validate_signatures']

def validate(self, message):
""" This needs to raise an exception, caught by moksha. """
Expand Down

0 comments on commit eb12c2e

Please sign in to comment.