mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Change comment to reflect the actual code
This commit is contained in:
committed by
Brian Coca
parent
04e990281e
commit
b9ed3454e4
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user