Mercurial > hg
comparison mercurial/httppeer.py @ 40937:e11e03f72baf stable
py3: ensure the proxied Windows fd doesn't escape by entering context manager
The purpose of the proxy class is to provide the `name` attribute which contains
the file path. But in tests that used a context manager, it still blew up
complaining that 'int' doesn't have a 'startswith' function.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 15 Dec 2018 01:26:18 -0500 |
parents | 588f1e9a4d16 |
children | a9b609fbe39c |
comparison
equal
deleted
inserted
replaced
40926:21f5810df848 | 40937:e11e03f72baf |
---|