Skip to content

Commit e39f774

Browse files
pbailiebmcutler
authored andcommitted
DB Nightly Backup (#11)
nightly_db_backup/db_backup.py bugfix / remove debug message
1 parent df6bf84 commit e39f774

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nightly_db_backup/db_backup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ def delete_obsolete_dumps(working_path, monthly_retention, expiration_date):
8383
elif monthly_retention > 28 and (file_date.day == calendar.monthrange(file_date.year, file_date.month)[1] and file_date.day <= monthly_retention):
8484
pass
8585
else:
86-
# os.remove(file)
87-
print("remove " + file)
86+
os.remove(file)
87+
8888
def main():
8989
""" Main """
9090

0 commit comments

Comments
 (0)