summaryrefslogtreecommitdiff
path: root/neutronclient/common
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-22 00:18:08 +0000
committerGerrit Code Review <review@openstack.org>2016-09-22 00:18:08 +0000
commit004ea02a5f4ad83ca93ed7929cd488d425b6e9ea (patch)
tree72c6bf788a33a1583a6a402e697814be9b90b534 /neutronclient/common
parent069f33e4cd71e3bcd2345061c7f7782dca671760 (diff)
parentd0e50b8b90fa29db04e0c19ea699f6bc7ae16652 (diff)
downloadpython-neutronclient-004ea02a5f4ad83ca93ed7929cd488d425b6e9ea.tar.gz
Merge "Use six.python_2_unicode_compatible for NeutronException.__str__"
Diffstat (limited to 'neutronclient/common')
-rw-r--r--neutronclient/common/exceptions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/neutronclient/common/exceptions.py b/neutronclient/common/exceptions.py
index d165a3b..3de16e7 100644
--- a/neutronclient/common/exceptions.py
+++ b/neutronclient/common/exceptions.py
@@ -13,6 +13,8 @@
# License for the specific language governing permissions and limitations
# under the License.
+import six
+
from neutronclient._i18n import _
"""
@@ -29,6 +31,7 @@ Exceptions are classified into three categories:
"""
+@six.python_2_unicode_compatible
class NeutronException(Exception):
"""Base Neutron Exception.