Merge branch 'master' of ssh://gogs.mikeperalta.com:2222/mikeperalta/backup-rotator
This commit is contained in:
commit
7aaea3746f
4
.gitignore
vendored
4
.gitignore
vendored
@ -3,4 +3,8 @@
|
|||||||
# Ignore PyCharm
|
# Ignore PyCharm
|
||||||
.idea
|
.idea
|
||||||
|
|
||||||
|
#
|
||||||
|
__pycache__
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -246,13 +246,3 @@ class BackupRotator:
|
|||||||
else:
|
else:
|
||||||
self.log("Purging directory:", dir_path)
|
self.log("Purging directory:", dir_path)
|
||||||
shutil.rmtree(dir_path)
|
shutil.rmtree(dir_path)
|
||||||
|
|
||||||
|
|
||||||
def main():
|
|
||||||
|
|
||||||
rotator = BackupRotator()
|
|
||||||
rotator.run()
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
main()
|
|
Loading…
Reference in New Issue
Block a user