Skip to content

Commit

Permalink
Merge pull request fedora-infra#100 from sontek/fix-validate-signatures
Browse files Browse the repository at this point in the history
Fix validate signatures
  • Loading branch information
ralphbean committed Nov 26, 2012
2 parents 48c5539 + 4a02457 commit 6dc71ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fedmsg/consumers/__init__.py
Expand Up @@ -81,7 +81,8 @@ 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['validate_signatures']
if self.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 6dc71ef

Please sign in to comment.