Explorar o código

Adds celery.bugreport

Ask Solem %!s(int64=13) %!d(string=hai) anos
pai
achega
ca478673e9
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      celery/__init__.py

+ 4 - 0
celery/__init__.py

@@ -33,3 +33,7 @@ def _get_current_app():
     from .app import current_app
     return current_app()
 current_app = Proxy(_get_current_app)
+
+
+def bugreport():
+    return current_app.bugreport()