diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-04-17 19:04:34 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-04-17 19:04:34 +0000 |
commit | c89aed35f06328b773a75b32ed236e5e9d2a8e1d (patch) | |
tree | 943ac2413ceac315de1c32afb1b3d4b7c3bd6d51 | |
parent | b2c235e91449e450d5f1a9763ff55f64bba51bcf (diff) | |
parent | 6665672e3fe55735461755d8608005bf0a704b1b (diff) | |
download | oslo-serialization-c89aed35f06328b773a75b32ed236e5e9d2a8e1d.tar.gz |
Merge "Expose base msgpack exceptions so users don't need to import"
-rw-r--r-- | oslo_serialization/msgpackutils.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/oslo_serialization/msgpackutils.py b/oslo_serialization/msgpackutils.py index d1e3082..b4bbbf4 100644 --- a/oslo_serialization/msgpackutils.py +++ b/oslo_serialization/msgpackutils.py @@ -33,6 +33,11 @@ if sys.version_info[0:2] == (2, 6): else: _PY26 = False +# Expose these so that users don't have to import msgpack to gain these. + +PackException = msgpack.PackException +UnpackException = msgpack.UnpackException + class HandlerRegistry(object): # Applications can assign 0 to 127 to store |