Mercurial > public > mercurial-scm > hg-stable
diff mercurial/vfs.py @ 40999:e10adebf8176
merge with stable
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 18 Dec 2018 10:21:25 -0500 |
parents | 03bca908d9fb 8d9f366b7f19 |
children | c8006a25b845 |
line wrap: on
line diff
--- a/mercurial/vfs.py Mon Dec 17 15:05:52 2018 +0100 +++ b/mercurial/vfs.py Tue Dec 18 10:21:25 2018 -0500 @@ -525,7 +525,8 @@ return delattr(self._origfh, attr) def __enter__(self): - return self._origfh.__enter__() + self._origfh.__enter__() + return self def __exit__(self, exc_type, exc_value, exc_tb): raise NotImplementedError('attempted instantiating ' + str(type(self)))