i agree about breaking out the if/else stuff.
Also it might be worth using context managers for the machine/inventory API's now that its in one spot. It could get rid of the destroy/del stuff?
« Back to merge proposal
i agree about breaking out the if/else stuff.
Also it might be worth using context managers for the machine/inventory API's now that its in one spot. It could get rid of the destroy/del stuff?