Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nightly_db_backup/db_backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def delete_obsolete_dumps(working_path, monthly_retention, expiration_date):
elif monthly_retention > 28 and (file_date.day == calendar.monthrange(file_date.year, file_date.month)[1] and file_date.day <= monthly_retention):
pass
else:
# os.remove(file)
print("remove " + file)
os.remove(file)

def main():
""" Main """

Expand Down