def _cleanup_failed_migration(self, inst_base):
    "Make sure that a failed migrate doesn't prevent us from rolling\n        back in a revert.\n        "
    try:
        shutil.rmtree(inst_base)
    except OSError as e:
        if (e.errno != errno.ENOENT):
            raise
Make sure that a failed migrate doesn't prevent us from rolling
back in a revert.
def _cleanup_failed_migration(self, inst_base):
    "Make sure that a failed migrate doesn't prevent us from rolling\n        back in a revert.\n        "
    try:
        shutil.rmtree(inst_base)
    except OSError as e:
        if (e.errno != errno.ENOENT):
            raise