Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Only initialize fedmsg.meta in fedmsg-tail if we have to.

  • Loading branch information...
commit 012078300254f3f0d4761d23b857c4f76f54ca73 1 parent 73dc1b9
@ralphbean ralphbean authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 fedmsg/commands/tail.py
View
5 fedmsg/commands/tail.py
@@ -110,7 +110,6 @@ def run(self):
self.config['mute'] = True
fedmsg.init(**self.config)
- fedmsg.meta.make_processors(**self.config)
# Build a message formatter
formatter = lambda d: d
@@ -149,6 +148,10 @@ def formatter(d):
if self.config['packages']:
packages = set(map(str.strip, self.config['packages'].split(',')))
+ # Only initialize this if we have to
+ if users or packages or self.config['terse']:
+ fedmsg.meta.make_processors(**self.config)
+
# Spin up a zmq.Poller and yield messages
for name, ep, topic, message in fedmsg.tail_messages(**self.config):
if exclusive_regexp.search(topic):
Please sign in to comment.
Something went wrong with that request. Please try again.