Browse Source

Fixed syntax error

Ask Solem 14 năm trước cách đây
mục cha
commit
895ad0b0d5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      celery/app/amqp.py

+ 1 - 1
celery/app/amqp.py

@@ -38,7 +38,7 @@ _exchanges_declared = set()
 
 
 def extract_msg_options(options, keep=MSG_OPTIONS):
-    return dict((name, options.get(name) for name in keep))
+    return dict((name, options.get(name)) for name in keep)
 
 
 class Queues(UserDict):