The attempt at catching ImportError-driven exits seemed broken, so nuked it. Bah.
Official Python documentation has this feature documented here: http://docs.python.org/reference/compound_stmts.html#the-with-statement
The with_settings() decorator from fabric.decorators takes keyword arguments to set in the environment, and other context managers, much like the regular settings context manager does. See issue 458 for more details.