Commit 81ac94ff authored by nsoler's avatar nsoler
Browse files

admin cc scripts

parent 40a77a71
Pipeline #2390 failed with stages
in 2 minutes and 1 second
...@@ -33,9 +33,9 @@ def remove_backups(cc_repo="2020_02"): ...@@ -33,9 +33,9 @@ def remove_backups(cc_repo="2020_02"):
if os.path.exists(fichero): if os.path.exists(fichero):
try: try:
shutil.rmtree(fichero) os.remove(fichero)
except Exception as e: except Exception as e:
print("WARINING", e) print("WARNING", e)
continue continue
else: else:
print("Deleted:",fichero) print("Deleted:",fichero)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment