def bugreport(app=None): try: import celery import tornado import babel return 'flower -> flower:%s tornado:%s babel:%s' %\ (__version__, tornado.version, babel.__version__)\ + celery.bugreport(app) except (ImportError, AttributeError): return 'Unknown Celery version'
def bugreport(app=None): try: import celery from celery.app import set_default_app import tornado import babel set_default_app(app) return 'flower -> flower:%s tornado:%s babel:%s%s' % ( __version__, tornado.version, babel.__version__, celery.bugreport()) except (ImportError, AttributeError): return 'Unknown Celery version'
def bugreport(app=None): try: import celery from celery.app import set_default_app import tornado import babel set_default_app(app) return 'flower -> flower:%s tornado:%s babel:%s%s' % ( __version__, tornado.version, babel.__version__, celery.bugreport() ) except (ImportError, AttributeError): return 'Unknown Celery version'
def bugreport(): try: import celery return 'flower -> %s' % __version__ + celery.bugreport() except (ImportError, AttributeError): return 'Unknown Celery version'
def bugreport(): try: import celery return celery.bugreport() except (ImportError, AttributeError): return 'Unknown Celery version'