Skip to content

Commit

Permalink
Install and initialize fedmsg.meta since we use it here now.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Jan 7, 2015
1 parent 0e7f5cc commit 2972bf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions hotness/consumers.py
Expand Up @@ -67,6 +67,7 @@ def __init__(self, hub):
# First, initialize fedmsg and bugzilla in this thread's context.
hostname = socket.gethostname().split('.', 1)[0]
fedmsg.init(name='hotness.%s' % hostname)
fedmsg.meta.make_processors(**self.hub.config)

self.bugzilla = hotness.bz.Bugzilla(
consumer=self, config=self.config['hotness.bugzilla'])
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -14,6 +14,7 @@
"dogpile.cache",
"requests",
"sh",
"fedmsg_meta_fedora_infrastructure",
],
packages=find_packages(),
entry_points="""
Expand Down

0 comments on commit 2972bf6

Please sign in to comment.