Merge branch 'dev' of ssh://git.mikeperalta.com:3222/misc-utilities/mikes-backup-rotator into dev

This commit is contained in:
Mike 2020-12-16 19:57:44 -08:00
commit 26afc6a346
3 changed files with 54 additions and 0 deletions

View File

@ -16,6 +16,7 @@ import datetime
import os import os
import shutil import shutil
import sys import sys
import syslog
import yaml import yaml
@ -59,6 +60,8 @@ class BackupRotator:
if o is not None: if o is not None:
to_log += " " + str(o) to_log += " " + str(o)
syslog.syslog(to_log)
print(to_log) print(to_log)
def consume_arguments(self): def consume_arguments(self):

13
Pipfile Normal file
View File

@ -0,0 +1,13 @@
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[packages]
pyyaml = "*"
[dev-packages]
[requires]
python_version = "3.8"

38
Pipfile.lock generated Normal file
View File

@ -0,0 +1,38 @@
{
"_meta": {
"hash": {
"sha256": "0df46f7a63444903ec7a2c27100b62c2c4c03930c9cc06281e292b56a4eb5038"
},
"pipfile-spec": 6,
"requires": {
"python_version": "3.7"
},
"sources": [
{
"name": "pypi",
"url": "https://pypi.python.org/simple",
"verify_ssl": true
}
]
},
"default": {
"pyyaml": {
"hashes": [
"sha256:0e7f69397d53155e55d10ff68fdfb2cf630a35e6daf65cf0bdeaf04f127c09dc",
"sha256:2e9f0b7c5914367b0916c3c104a024bb68f269a486b9d04a2e8ac6f6597b7803",
"sha256:35ace9b4147848cafac3db142795ee42deebe9d0dad885ce643928e88daebdcc",
"sha256:38a4f0d114101c58c0f3a88aeaa44d63efd588845c5a2df5290b73db8f246d15",
"sha256:483eb6a33b671408c8529106df3707270bfacb2447bf8ad856a4b4f57f6e3075",
"sha256:4b6be5edb9f6bb73680f5bf4ee08ff25416d1400fbd4535fe0069b2994da07cd",
"sha256:7f38e35c00e160db592091751d385cd7b3046d6d51f578b29943225178257b31",
"sha256:8100c896ecb361794d8bfdb9c11fce618c7cf83d624d73d5ab38aef3bc82d43f",
"sha256:c0ee8eca2c582d29c3c2ec6e2c4f703d1b7f1fb10bc72317355a746057e7346c",
"sha256:e4c015484ff0ff197564917b4b4246ca03f411b9bd7f16e02a2f586eb48b6d04",
"sha256:ebc4ed52dcc93eeebeae5cf5deb2ae4347b3a81c3fa12b0b8c976544829396a4"
],
"index": "pypi",
"version": "==5.2"
}
},
"develop": {}
}