Mercurial > hg
view mercurial/thirdparty/cbor/__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 | 3bc609bcfe77 |
children |
line wrap: on
line source
from .cbor2 import ( CBORDecodeError, CBORDecoder, CBOREncodeError, CBOREncoder, dump, dumps, load, loads, )