Change comment to reflect the actual code

This commit is contained in:
Viktor Fogelberg 2017-03-03 16:22:20 +01:00 committed by Brian Coca
parent 04e990281e
commit b9ed3454e4

View file

@ -2058,7 +2058,7 @@ class AnsibleModule(object):
backupdest = ''
if os.path.exists(fn):
# backups named basename-YYYY-MM-DD@HH:MM:SS~
# backups named basename.PID.YYYY-MM-DD@HH:MM:SS~
ext = time.strftime("%Y-%m-%d@%H:%M:%S~", time.localtime(time.time()))
backupdest = '%s.%s.%s' % (fn, os.getpid(), ext)