##// END OF EJS Templates
largefiles: do not use platform.system()...
Jun Wu -
r34642:bb6544b1 default
parent child Browse files
Show More
@@ -12,7 +12,6 b' from __future__ import absolute_import'
12 12 import copy
13 13 import hashlib
14 14 import os
15 import platform
16 15 import stat
17 16
18 17 from mercurial.i18n import _
@@ -80,7 +79,7 b' def _usercachedir(ui):'
80 79 encoding.environ.get('APPDATA'))
81 80 if appdata:
82 81 return os.path.join(appdata, longname)
83 elif platform.system() == 'Darwin':
82 elif pycompat.sysplatform == 'darwin':
84 83 home = encoding.environ.get('HOME')
85 84 if home:
86 85 return os.path.join(home, 'Library', 'Caches', longname)
General Comments 0
You need to be logged in to leave comments. Login now