Mercurial > hg
view mercurial/thirdparty/cbor/cbor2/__init__.py @ 38000:7c05198cd1ca stable
push: continue without locking on lock failure other than EEXIST (issue5882)
This code was added by 3f5e75c22585 "push: make locking of source optional
(issue3684)", but EACCES isn't the only error that could be triggered by
filesystem permission. I think catching LockUnavailable is more appropriate
than testing errno value by caller.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 15 May 2018 22:12:55 +0900 |
parents | 4bd73a955ab0 |
children |
line wrap: on
line source
from .decoder import load, loads, CBORDecoder, CBORDecodeError # noqa from .encoder import dump, dumps, CBOREncoder, CBOREncodeError, shareable_encoder # noqa from .types import CBORTag, CBORSimpleValue, undefined # noqa