# HG changeset patch # User Thomas Arendsen Hein # Date 1148011859 -7200 # Node ID a600d99975214d121baa68951a5bc7e7b9694ae5 # Parent 4f04368423ec4dccb471561298fa3a4da0dcbfe9 Fixed typo (qshell instead of shell) in win98 code (see issue244). diff --git a/mercurial/util_win32.py b/mercurial/util_win32.py --- a/mercurial/util_win32.py +++ b/mercurial/util_win32.py @@ -194,7 +194,7 @@ def user_rcpath(): # We are on win < nt: fetch the APPDATA directory location and use # the parent directory as the user home dir. appdir = shell.SHGetPathFromIDList( - qshell.SHGetSpecialFolderLocation(0, shellcon.CSIDL_APPDATA)) + shell.SHGetSpecialFolderLocation(0, shellcon.CSIDL_APPDATA)) userdir = os.path.dirname(appdir) return os.path.join(userdir, 'mercurial.ini')