From b995c67a2653079d70a3780c839a646d02609497 Mon Sep 17 00:00:00 2001 From: Thomas Ferreira de Lima Date: Thu, 4 Oct 2018 08:55:09 -0400 Subject: [PATCH] os.makedirs has no exist_ok in python2 --- macbuild/build4mac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macbuild/build4mac.py b/macbuild/build4mac.py index ecb45e658..6f41c7ef9 100755 --- a/macbuild/build4mac.py +++ b/macbuild/build4mac.py @@ -669,7 +669,7 @@ def DeployBinariesForBundle(): # binary #------------------------------------------------------------------- for piDir in [ "db_plugins", "lay_plugins" ]: - os.makedirs( os.path.join( targetDirM, piDir ), exist_ok = True ) + os.makedirs( os.path.join( targetDirM, piDir )) dynamicLinkLibs = glob.glob( os.path.join( MacBinDir, piDir, "*.dylib" ) ) for item in dynamicLinkLibs: if os.path.isfile(item) and not os.path.islink(item):