diff --git a/mercurial/pure/osutil.py b/mercurial/pure/osutil.py --- a/mercurial/pure/osutil.py +++ b/mercurial/pure/osutil.py @@ -293,7 +293,8 @@ '''mimics the read-only attributes of Python file objects by raising 'TypeError: readonly attribute' if someone tries: f = posixfile('foo.txt') - f.name = 'bla' ''' + f.name = 'bla' + ''' return self._file.__setattr__(name, value) def __enter__(self):