diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-06-14 10:44:23 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-06-14 10:47:42 -0700 |
| commit | 2a5fd7e54775897719ef78fd5ec8756bc5172733 (patch) | |
| tree | 987036baa8e431e77da0d2f48ca0c92ae2561335 /quantumclient/shell.py | |
| parent | 12bc22b07aa3d5c5a966e44f53836dbf449e63dd (diff) | |
| download | python-neutronclient-2a5fd7e54775897719ef78fd5ec8756bc5172733.tar.gz | |
Remove the monkey patching of _ into the builtins.
Previous _ was monkey patched into builtins whenever
certain modules were imported. This removes that and
simply imports it when it is needed.
Change-Id: I8b7cdc7a8da21ed3e8bc69b18414dfc89e8935b8
Diffstat (limited to 'quantumclient/shell.py')
| -rw-r--r-- | quantumclient/shell.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/quantumclient/shell.py b/quantumclient/shell.py index afcabb7..402c8bf 100644 --- a/quantumclient/shell.py +++ b/quantumclient/shell.py @@ -20,7 +20,6 @@ Command-line interface to the Quantum APIs """ import argparse -import gettext import logging import os import sys @@ -644,7 +643,6 @@ class QuantumShell(App): def main(argv=sys.argv[1:]): - gettext.install('quantumclient', unicode=1) try: return QuantumShell(QUANTUM_API_VERSION).run(map(strutils.safe_decode, argv)) |
