summaryrefslogtreecommitdiff
path: root/glanceclient/shell.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-09-30 18:10:40 +0000
committerGerrit Code Review <review@openstack.org>2015-09-30 18:10:40 +0000
commit8c0c3c9ed4666a4061b1a3d057ae0a2db851dc75 (patch)
treec231f69d274489df17f156e507196bb4a11d10a2 /glanceclient/shell.py
parenta98ed220916a0cae022b35dcdc212ba65eacafd2 (diff)
parentc6addc722c99ce2688b335dd20c796c3a5dab1ba (diff)
downloadpython-glanceclient-8c0c3c9ed4666a4061b1a3d057ae0a2db851dc75.tar.gz
Merge "Replace exception_to_str with oslo.utils function"
Diffstat (limited to 'glanceclient/shell.py')
-rwxr-xr-xglanceclient/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glanceclient/shell.py b/glanceclient/shell.py
index f2a5cff..06b2c46 100755
--- a/glanceclient/shell.py
+++ b/glanceclient/shell.py
@@ -763,4 +763,4 @@ def main():
except KeyboardInterrupt:
utils.exit('... terminating glance client', exit_code=130)
except Exception as e:
- utils.exit(utils.exception_to_str(e))
+ utils.exit(encodeutils.exception_to_unicode(e))