summaryrefslogtreecommitdiff
path: root/quantumclient/shell.py
diff options
context:
space:
mode:
authorHe Jie Xu <xuhj@linux.vnet.ibm.com>2013-01-19 21:39:40 +0800
committerHe Jie Xu <xuhj@linux.vnet.ibm.com>2013-02-05 16:47:19 +0800
commit6cc6875b383b7f94e0f2cd6ebafeac3159a112d4 (patch)
treee9b7210c230c5be5755bf8ab5c71d8fe74993d1d /quantumclient/shell.py
parent2bca8ee4407aee03a83592395d3191f097c459a5 (diff)
downloadpython-neutronclient-6cc6875b383b7f94e0f2cd6ebafeac3159a112d4.tar.gz
Remove gettext.install from quantumclient.__init__
fix bug 1097628 Change-Id: Ic6f2dfb4593fa507fb788786616bff6af3cbb896
Diffstat (limited to 'quantumclient/shell.py')
-rw-r--r--quantumclient/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantumclient/shell.py b/quantumclient/shell.py
index 3b8ae5c..21f64cf 100644
--- a/quantumclient/shell.py
+++ b/quantumclient/shell.py
@@ -33,7 +33,6 @@ from quantumclient.common import exceptions as exc
from quantumclient.common import utils
-gettext.install('quantum', unicode=1)
VERSION = '2.0'
QUANTUM_API_VERSION = '2.0'
@@ -564,6 +563,7 @@ class QuantumShell(App):
def main(argv=sys.argv[1:]):
+ gettext.install('quantumclient', unicode=1)
try:
return QuantumShell(QUANTUM_API_VERSION).run(argv)
except exc.QuantumClientException: