Alright......<br><br>Looking for some suggestions on how to go about doing this context failure stuff. Which we can assume should work for all context classes if we want it to and not just Virtualenv.<br><br>What I though may work as an initial &quot;hey, throw something together quick.&quot;<br>
<br><br>Global variable some_variable default to false...<br><br>In VirtualenvContext, inside the check for what ret status was returned by _run_command.... Set the global variable to true then break, this would break out of initialize and start doing the rest of stuff in do().<br>
<br>Inside do() add a test after context.initialize() to see if some_variable is true and if it is skip over the run commands for loop.....then do the rest of the do() code......<br><br>Then the problem arises of, how do we get a message to the pb server of pip dep install was the reason for failure. Can we just do this in the update_client_info func?<br>
<br>Anyways, it does not act how I would expect....<br><br><br><br>Well after writing that all out and thinking about it while typing.....Do we just add in a test in do() that checks for global var state... then within that if block, if it passes, do all the cleanup and reporting right there?<br>
<br><br>Open to any and all suggestions as I think global var may be a bit messy way to go?<br>