mercurial/windows.py
changeset 8778 c5f36402daad
parent 8761 0289f384e1e5
child 8930 ae275ad46bd0
equal deleted inserted replaced
8777:012be286b2c4 8778:c5f36402daad
    18         return osutil.posixfile(name, mode, buffering)
    18         return osutil.posixfile(name, mode, buffering)
    19     except WindowsError, err:
    19     except WindowsError, err:
    20         raise WinIOError(err)
    20         raise WinIOError(err)
    21 posixfile.__doc__ = osutil.posixfile.__doc__
    21 posixfile.__doc__ = osutil.posixfile.__doc__
    22 
    22 
    23 class winstdout:
    23 class winstdout(object):
    24     '''stdout on windows misbehaves if sent through a pipe'''
    24     '''stdout on windows misbehaves if sent through a pipe'''
    25 
    25 
    26     def __init__(self, fp):
    26     def __init__(self, fp):
    27         self.fp = fp
    27         self.fp = fp
    28 
    28