Add --no-stash option.

This commit is contained in:
Anthony Sottile 2014-04-13 20:00:10 -07:00
parent 5386b0eea0
commit 8a8b2241a6
4 changed files with 54 additions and 11 deletions

View file

@ -62,3 +62,9 @@ def clean_path_on_failure(path):
if os.path.exists(path):
shutil.rmtree(path)
raise
# TODO: asottile.contextlib this with a forward port of nested
@contextlib.contextmanager
def noop_context():
yield