Exemplo n.º 1
0
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'
Exemplo n.º 2
0
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'
Exemplo n.º 3
0
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'
Exemplo n.º 4
0
def bugreport():
    try:
        import celery
        return 'flower   -> %s' % __version__ + celery.bugreport()
    except (ImportError, AttributeError):
        return 'Unknown Celery version'
Exemplo n.º 5
0
def bugreport():
    try:
        import celery
        return celery.bugreport()
    except (ImportError, AttributeError):
        return 'Unknown Celery version'