Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

XMLStream.schedule() does not with kwargs: scheduler.Task bug #230

Open
ThomasChiroux opened this Issue Apr 23, 2013 · 1 comment

Comments

Projects
None yet
2 participants

kwargs is ignored because XMLStream.schedule() calls scheduler.add with a not None qpointer.

When Task calls the run method, it does looks at a qpointer is defined and if yes, put the call-back in that queue... but without kwargs (only with args):

if self.qpointer is not None:
            self.qpointer.put(('schedule', self.callback,
                               self.args, self.name))
Collaborator

legastero commented Apr 23, 2013

Great catch, thanks! Develop branch should have this fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment