Patchwork D2978: cbor: import CBORDecoder and CBOREncoder

login
register
mail settings
Submitter phabricator
Date March 30, 2018, 8:32 p.m.
Message ID <differential-rev-PHID-DREV-uxlqqw67t7zesexey7og-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/30010/
State Superseded
Headers show

Comments

phabricator - March 30, 2018, 8:32 p.m.
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  And format the imports so it is cleaner.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2978

AFFECTED FILES
  mercurial/thirdparty/cbor/__init__.py

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

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,10 @@ 
-from .cbor2 import load, loads, dump, dumps, CBORDecodeError, CBOREncodeError
+from .cbor2 import (
+    CBORDecodeError,
+    CBORDecoder,
+    CBOREncodeError,
+    CBOREncoder,
+    dump,
+    dumps,
+    load,
+    loads,
+)