1. Steve Losh
  2. hg-crew


Rémy Roy  committed d2375bb

Folding correction and missing import

  • Participants
  • Parent commits 892806b
  • Branches default
  • Tags 1.0.2

Comments (0)

Files changed (1)

File mercurial/util_win32.py

View file
 import errno, os, sys, pywintypes, win32con, win32file, win32process
 import cStringIO, winerror
 import osutil
+import util
 from win32com.shell import shell,shellcon
 class WinError:
         scope = (scope,)
     for s in scope:
-            val = QueryValueEx(OpenKey(scope, key), valname)[0]
+            val = QueryValueEx(OpenKey(s, key), valname)[0]
             # never let a Unicode string escape into the wild
             return util.tolocal(val.encode('UTF-8'))
         except EnvironmentError: