D2590: cbor: add a __init__.py to top level cbor module

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sat Mar 3 19:19:18 UTC 2018


pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  mercurial/thirdparty/cbor/__init__.py

CHANGE DETAILS

diff --git a/mercurial/thirdparty/cbor/__init__.py b/mercurial/thirdparty/cbor/__init__.py
new file mode 100644
--- /dev/null
+++ b/mercurial/thirdparty/cbor/__init__.py
@@ -0,0 +1,5 @@
+from .cbor import loads, dumps, load, dump
+
+__all__ = [
+    'loads', 'dumps', 'load', 'dump',
+]



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


More information about the Mercurial-devel mailing list