changeset 34647 | dacfcdd8b94e |
parent 34646 | 238abf65a8ad |
child 34757 | 8cf0a6cd1ed2 |
--- a/hgext/largefiles/lfutil.py Thu Oct 12 09:04:22 2017 -0700 +++ b/hgext/largefiles/lfutil.py Thu Oct 12 23:34:34 2017 -0700 @@ -79,7 +79,7 @@ encoding.environ.get('APPDATA')) if appdata: return os.path.join(appdata, longname) - elif pycompat.sysplatform == 'darwin': + elif pycompat.isdarwin: home = encoding.environ.get('HOME') if home: return os.path.join(home, 'Library', 'Caches', longname)