# HG changeset patch # User Gregory Szorc # Date 2018-03-28 20:37:19 # Node ID 3bc609bcfe774d83f588b1e3dee5ad2e457bf6ae # Parent 893ff8c3bc575074a8d7238edca2bc72adc1bcf9 cbor: import CBORDecoder and CBOREncoder And format the imports so it is cleaner. Differential Revision: https://phab.mercurial-scm.org/D2978 diff --git a/mercurial/thirdparty/cbor/__init__.py b/mercurial/thirdparty/cbor/__init__.py --- a/mercurial/thirdparty/cbor/__init__.py +++ b/mercurial/thirdparty/cbor/__init__.py @@ -1,1 +1,10 @@ -from .cbor2 import load, loads, dump, dumps, CBORDecodeError, CBOREncodeError +from .cbor2 import ( + CBORDecodeError, + CBORDecoder, + CBOREncodeError, + CBOREncoder, + dump, + dumps, + load, + loads, +)