Submitter | Manuel Jacob |
---|---|
Date | July 17, 2020, 2:38 a.m. |
Message ID | <90b4881b969cb70d68c8.1594953528@tmp> |
Download | mbox | patch |
Permalink | /patch/46768/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -1381,8 +1381,8 @@ @contextlib.contextmanager -def nullcontextmanager(): - yield +def nullcontextmanager(enter_result=None): + yield enter_result class _lrucachenode(object):