From e40d502c92ba9a3139d04a17b6f7570fede6dcbc Mon Sep 17 00:00:00 2001 From: checktheroads Date: Sun, 16 Jun 2019 19:46:46 -0700 Subject: [PATCH] added delete existing files statement for CI --- ci/ci_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/ci_test.py b/ci/ci_test.py index 130deb9..da282ac 100644 --- a/ci/ci_test.py +++ b/ci/ci_test.py @@ -23,10 +23,12 @@ def ci_config(): for f in config_files: if os.path.exists(f): logger.debug(f"{f} already exists") - raise RuntimeError(f"{f} already exists") + os.remove(f) + logger.debug(f"Deleted {f}") for f in test_files: try: shutil.copy(f, config_dir) + logger.debug(f"Copied {f}") logger.info("Successfully migrated test config files") status = True except: