#17 basset-worker: Pika's Channel#basic_consume's parameter order changed
Closed 8 days ago by abompard. Opened a year ago by codeblock.
codeblock/basset master  into  master

file modified
+1 -2

@@ -141,8 +141,7 @@ 


  # Make sure we leave any other messages in the queue


- channel.basic_consume(callback,

-                       queue='check_submission')

+ channel.basic_consume('check_submission', callback)



      log.debug('Starting consuming')

If they changed the order, could we instead of going with the implicit order of both arguments, just go explicit on both of them, so the code works with both old and new versions?

Possibly? The original error was complaining about a duplicate queue parameter. If I name both arguments of the function call will it appease python?

Pull-Request has been closed by abompard

8 days ago