def bugreport(app):
 import billiard
 import celery
 import kombu
 try:
  conn = app.connection()
  driver_v = u'{0}:{1}'.format(conn.transport.driver_name, conn.transport.driver_version())
  transport = conn.transport_cls
 except Exception:
  transport = driver_v = u''
 return BUGREPORT_INFO.format(system=_platform.system(), arch=u', '.join((x for x in _platform.architecture() if x)), py_i=pyimplementation(), celery_v=celery.VERSION_BANNER, kombu_v=kombu.__version__, billiard_v=billiard.__version__, py_v=_platform.python_version(), driver_v=driver_v, transport=transport, results=maybe_sanitize_url((app.conf.result_backend or u'disabled')), human_settings=app.conf.humanize(), loader=qualname(app.loader.__class__))

def bugreport ( app ) : import billiard import celery import kombu try : conn = app . connection ( ) driver_v = u'{0}:{1}' . format ( conn . transport . driver_name , conn . transport . driver_version ( ) ) transport = conn . transport_cls except Exception : transport = driver_v = u'' return BUGREPORT_INFO . format ( system = _platform . system ( ) , arch = u', ' . join ( ( x for x in _platform . architecture ( ) if x ) ) , py_i = pyimplementation ( ) , celery_v = celery . VERSION_BANNER , kombu_v = kombu . __version__ , billiard_v = billiard . __version__ , py_v = _platform . python_version ( ) , driver_v = driver_v , transport = transport , results = maybe_sanitize_url ( ( app . conf . result_backend or u'disabled' ) ) , human_settings = app . conf . humanize ( ) , loader = qualname ( app . loader . __class__ ) )
return a string containing information useful in bug-reports .