فهرست منبع

Fixed a bug with parsing the message options (mandatory, routing_key,
immediate, priority)

Ask Solem 16 سال پیش
والد
کامیت
3b0e993410
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      celery/messaging.py

+ 1 - 1
celery/messaging.py

@@ -13,7 +13,7 @@ from celery.serialization import pickle
 MSG_OPTIONS = ("mandatory", "priority",
                "immediate", "routing_key")
 
-get_msg_options = mitemgetter(MSG_OPTIONS)
+get_msg_options = mitemgetter(*MSG_OPTIONS)
 
 extract_msg_options = lambda d: dict(zip(MSG_OPTIONS, get_msg_options(d)))