Show More
@@ -8,6 +8,7 b'' | |||
|
8 | 8 | from i18n import _ |
|
9 | 9 | import osutil, error |
|
10 | 10 | import errno, msvcrt, os, re, sys |
|
11 | from mercurial import win32 | |
|
11 | 12 | |
|
12 | 13 | nulldev = 'NUL:' |
|
13 | 14 | umask = 002 |
@@ -17,7 +18,7 b" def posixfile(name, mode='r', buffering=" | |||
|
17 | 18 | try: |
|
18 | 19 | return osutil.posixfile(name, mode, buffering) |
|
19 | 20 | except WindowsError, err: |
|
20 | raise WinIOError(err) | |
|
21 | raise win32.WinIOError(err) | |
|
21 | 22 | posixfile.__doc__ = osutil.posixfile.__doc__ |
|
22 | 23 | |
|
23 | 24 | class winstdout(object): |
General Comments 0
You need to be logged in to leave comments.
Login now