mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-13 16:59:52 +08:00
Remove the use of pprint in main.run function
This commit is contained in:
committed by
Nils Philippsen
parent
2233f60f58
commit
94723614f5
@@ -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}"'
|
||||
|
||||
Reference in New Issue
Block a user