Mercurial > piecrust2
comparison piecrust/osutil.py @ 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 | a4ac464a45b3 |
children |
comparison
equal
deleted
inserted
replaced
1093:37735b7e2a3a | 1094:ea6cbd6d2af5 |
---|---|
40 walk = _walk | 40 walk = _walk |
41 listdir = _listdir | 41 listdir = _listdir |
42 glob = _glob | 42 glob = _glob |
43 | 43 |
44 | 44 |
45 if sys.platform == 'darwin': | 45 _do_wrap_mac_fs = False |
46 | |
47 if _do_wrap_mac_fs and sys.platform == 'darwin': | |
46 _wrap_fs_funcs() | 48 _wrap_fs_funcs() |
47 | 49 |