Add comment explaining colon erasure on datetime

This commit is contained in:
Eric Torres 2019-04-19 07:49:14 -07:00
parent 194dc7a0ff
commit d6d77690fc

View File

@ -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(":", "_")
)