changeset 1094:ea6cbd6d2af5

internal: Disable macOS file-system wrappers. Apparently new versions of macOS don't need this anymore. I'm keeping it around since it might be necessary to re-enable them by detecting the OS version.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 17 Feb 2018 11:50:17 -0800
parents 37735b7e2a3a
children c8518f5cedbb
files piecrust/osutil.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/piecrust/osutil.py	Sat Feb 17 11:48:51 2018 -0800
+++ b/piecrust/osutil.py	Sat Feb 17 11:50:17 2018 -0800
@@ -42,6 +42,8 @@
     glob = _glob
 
 
-if sys.platform == 'darwin':
+_do_wrap_mac_fs = False
+
+if _do_wrap_mac_fs and sys.platform == 'darwin':
     _wrap_fs_funcs()