From d6d77690fc20f90d36de7c7fe39a132688e042fd Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Fri, 19 Apr 2019 07:49:14 -0700 Subject: [PATCH] Add comment explaining colon erasure on datetime --- rbackup/struct/repository.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rbackup/struct/repository.py b/rbackup/struct/repository.py index cb501a6..45ce7b9 100644 --- a/rbackup/struct/repository.py +++ b/rbackup/struct/repository.py @@ -270,6 +270,7 @@ class Repository(Hierarchy): snapshot_name = ( name if name is not None + # we replace the ':'s, otherwise rsync recognizes this as a remote location else datetime.datetime.utcnow().isoformat().replace(":", "_") )