Change comment to reflect the actual code
This commit is contained in:
parent
04e990281e
commit
b9ed3454e4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue