Permalink
Browse files

Merge pull request #223 from fedora-infra/feature/avoid-pkg_resources

Avoid importing pkg_resources in fedmsg.meta
  • Loading branch information...
ralphbean committed Feb 19, 2014
2 parents e5a3a18 + ffbc376 commit 9bfe5ec79106e7cdcce83e5e8a056012712a2187
Showing with 1 addition and 1 deletion.
  1. +1 −1 fedmsg/meta/__init__.py
View
@@ -58,7 +58,6 @@
from fedmsg.meta.default import DefaultProcessor
-import pkg_resources
import logging
@@ -84,6 +83,7 @@ def make_processors(**config):
>>> text = fedmsg.meta.msg2repr(some_message_dict, **config)
"""
+ import pkg_resources
global processors
processors = []
for processor in pkg_resources.iter_entry_points('fedmsg.meta'):

0 comments on commit 9bfe5ec

Please sign in to comment.