-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix some errors in the batch module and its usage #162
base: master
Are you sure you want to change the base?
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:
*batchParameters
andbatchParameters
made 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 l
BATCH
command should not include the username it is sent to, nor the batch id (specs)Two things I would like feedback on:
*
tobatchParameters
based 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.