Fix some errors in the batch module and its usage#162
Fix some errors in the batch module and its usage#162guyguy2001 wants to merge 1 commit intoElementalAlchemist:masterfrom
Conversation
|
Thank you! As for feedback on your change: That usage of |
|
Thanks for the feedback, and sorry for the late response; Also, one thing I don't understand the asymmetry between And either way - would you like me to close this issue, or only keep the changes that remove the username from the |
|
Apologies for my late response as well. I'm not sure what you're looking at to say that BATCH is sending the BATCH tag; the code you linked doesn't send any tags with the BATCH message. It does include it as a BATCH parameter, which is required in the spec so the client knows which batch is being opened/closed. We also store it in the user cache so we can tag it on the messages we're sending in the batch. Regarding the asymmetry between If it's still useful in the time you'll be running 0.4, you could keep the changes that remove the username from |
I looks like the issue is that |
|
Oh, whoops. I see, you're right. I pushed a fix for that to the 0.5 branch. |
The problems I fixed:
*batchParametersandbatchParametersmade it so when we send a string as a parameter (which is what you've done on 0.5), it splits it as if it was an array of parameters; In my case it resulted in# g e n e r a lBATCHcommand should not include the username it is sent to, nor the batch id (specs)Two things I would like feedback on:
*tobatchParametersbased on what made sense to me (and based on how you called it from the history module in 0.5), but I'm not a python programmer - so I may have been wrong on how I used that.