Submitter | phabricator |
---|---|
Date | Nov. 27, 2020, 10:09 p.m. |
Message ID | <differential-rev-PHID-DREV-zbwauxeazdmbtmf2nbam-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/47707/ |
State | Superseded |
Headers | show |
Comments
Patch
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):