Mutliple invokation of the same task. #167
So it seems that when I do:
everything works exactly as expected.
But when I do:
I get the error:
There is no explicit mention in the docs that I can find about repeating a task on the command line. If it has been decided to disallow this, docs should be updated. If the behavior is undefined, I vote that allowing repeated tasks is a good idea for a lot of things. For instance my uwsgi deploy code for 3 different sub-projects is a only a few command line parameters of difference. I don't like having to do multiple commands or:
when I could do:
Particularly when I add
The text was updated successfully, but these errors were encountered:
Yea this is due to using a dict (Lexicon) in the Parser class. I think the problem is somewhere in how the parser.Contexts within that dict get mutated and handed into the ParseResult object (which is list-like, so at that point we shouldn't care about multiple 'copies' of a Context).
EDIT: Yup it was actually as easy as ensuring we