From 88d1285f33e532de34c1265fab40f5175937e6dc Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 12 Sep 2012 14:52:54 -0400 Subject: [PATCH] time is what i wanted, not gmtime Signed-off-by: Brian Coca --- library/copy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/copy b/library/copy index b9506aac12..6491f6ea5e 100755 --- a/library/copy +++ b/library/copy @@ -67,7 +67,7 @@ def main(): backup_file = module.backup_local(dest) #TODO:pid + epoch should avoid most collisions, hostname/mac for those using nfs? # might be an issue with exceeding path length - dest_tmp = "%s.%s.%s.tmp" % (dest,os.getpid(),time.gmtime()) + dest_tmp = "%s.%s.%s.tmp" % (dest,os.getpid(),time.time()) shutil.copyfile(src, dest_tmp) shutil.move(dest_tmp, dest) except shutil.Error: