Sfoglia il codice sorgente

Fixed syntax error

Ask Solem 14 anni fa
parent
commit
895ad0b0d5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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):