From 024cd3d7f2f2a1529569f389661e30acc57688f4 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Fri, 30 Jan 2015 23:30:30 +1100 Subject: [PATCH] Change to uuid4().hex for Python3 --- pex/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pex/common.py b/pex/common.py index cebcbe852..5289190e0 100644 --- a/pex/common.py +++ b/pex/common.py @@ -16,7 +16,7 @@ def safe_copy(source, dest, overwrite=False): def do_copy(): - temp_dest = dest + uuid4().get_hex() + temp_dest = dest + uuid4().hex shutil.copyfile(source, temp_dest) os.rename(temp_dest, dest)