comparison mercurial/util_win32.py @ 2313:a600d9997521

Fixed typo (qshell instead of shell) in win98 code (see issue244).
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 19 May 2006 06:10:59 +0200
parents 0912f807b7ff
children b77a2ef61b81
comparison
equal deleted inserted replaced
2312:4f04368423ec 2313:a600d9997521
192 userdir = os.path.expanduser('~') 192 userdir = os.path.expanduser('~')
193 if userdir == '~': 193 if userdir == '~':
194 # We are on win < nt: fetch the APPDATA directory location and use 194 # We are on win < nt: fetch the APPDATA directory location and use
195 # the parent directory as the user home dir. 195 # the parent directory as the user home dir.
196 appdir = shell.SHGetPathFromIDList( 196 appdir = shell.SHGetPathFromIDList(
197 qshell.SHGetSpecialFolderLocation(0, shellcon.CSIDL_APPDATA)) 197 shell.SHGetSpecialFolderLocation(0, shellcon.CSIDL_APPDATA))
198 userdir = os.path.dirname(appdir) 198 userdir = os.path.dirname(appdir)
199 return os.path.join(userdir, 'mercurial.ini') 199 return os.path.join(userdir, 'mercurial.ini')
200 200
201 class posixfile_nt(object): 201 class posixfile_nt(object):
202 '''file object with posix-like semantics. on windows, normal 202 '''file object with posix-like semantics. on windows, normal