Submitter | phabricator |
---|---|
Date | Feb. 15, 2021, 9:42 p.m. |
Message ID | <differential-rev-PHID-DREV-i4ltibmjh7ejg2ytjzk4-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/48312/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/tests/test-check-interfaces.py b/tests/test-check-interfaces.py --- a/tests/test-check-interfaces.py +++ b/tests/test-check-interfaces.py @@ -113,6 +113,10 @@ def close(self): pass + @property + def closed(self): + pass + def main(): ui = uimod.ui() diff --git a/mercurial/sshpeer.py b/mercurial/sshpeer.py --- a/mercurial/sshpeer.py +++ b/mercurial/sshpeer.py @@ -140,6 +140,10 @@ def close(self): return self._main.close() + @property + def closed(self): + return self._main.closed + def flush(self): return self._main.flush()