Remove the use of pprint in main.run function

This commit is contained in:
Matt Prahl
2016-09-21 10:17:20 -04:00
committed by Nils Philippsen
parent 2233f60f58
commit 94723614f5

View File

@@ -32,7 +32,6 @@ proper scheduling component builds in the supported build systems.
import inspect
import operator
import os
import pprint
import threading
import time
import six.moves.queue as queue
@@ -133,7 +132,7 @@ class MessageWorker(threading.Thread):
self.process_message(msg)
except Exception:
log.exception("Failed while handling %r" % msg.msg_id)
log.info(pprint.pformat(msg))
log.info(msg)
def process_message(self, msg):
log.debug('Received a message with an ID of "{0}" and of type "{1}"'