Browse Source

Adds celery.bugreport

Ask Solem 13 years ago
parent
commit
ca478673e9
1 changed files with 4 additions and 0 deletions
  1. 4 0
      celery/__init__.py

+ 4 - 0
celery/__init__.py

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