瀏覽代碼

Adds celery.bugreport

Ask Solem 13 年之前
父節點
當前提交
ca478673e9
共有 1 個文件被更改,包括 4 次插入0 次删除
  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()