From a6e02c871530337de209d42fed53c57cba9b85cd Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Tue, 6 Feb 2018 17:28:35 -0800 Subject: [PATCH] add review suggestion --- repo2docker/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo2docker/utils.py b/repo2docker/utils.py index 40ef6a5d..c20efb20 100644 --- a/repo2docker/utils.py +++ b/repo2docker/utils.py @@ -54,7 +54,7 @@ def execute_cmd(cmd, capture=False, **kwargs): @contextmanager def maybe_cleanup(path, cleanup=False): - """Execute cleanup of the passed path when cleanup flag is True.""" + """Delete the directory at passed path if cleanup flag is True.""" yield if cleanup: shutil.rmtree(path, ignore_errors=True)