Commits

Adrian Buehlmann committed 78488b7

wconfig: use util.posixfile (refs #303)

  • Participants
  • Parent commits 6a19669
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/util/wconfig.py

             fp.seek(0)
             return newini(fp)
         else:
-            fp = open(path, 'rb')
+            fp = util.posixfile(path, 'rb')
             try:
                 return newini(fp)
             finally: