From b9ed3454e40649655324a3f0453d9c05a3b19d51 Mon Sep 17 00:00:00 2001 From: Viktor Fogelberg Date: Fri, 3 Mar 2017 16:22:20 +0100 Subject: [PATCH] Change comment to reflect the actual code --- lib/ansible/module_utils/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index 0c8e09660e..6cebdd5912 100644 --- a/lib/ansible/module_utils/basic.py +++ b/lib/ansible/module_utils/basic.py @@ -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)