Parcourir la source

Adds celery.bugreport

Ask Solem il y a 13 ans
Parent
commit
ca478673e9
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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()