diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-10-30 11:02:08 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-10-30 11:02:08 +0000 |
| commit | cb28cd9ac0135867117683d7a8d20730067b16e8 (patch) | |
| tree | fcdcba4ff42810b366979f11c8b39e63218cbc9b /openstackclient/shell.py | |
| parent | 17ebd15a133dd84aebdcd1e0aeef662e86fe5796 (diff) | |
| parent | 05800c47227ce7c6918296c33fe0b9a774d14cda (diff) | |
| download | python-openstackclient-cb28cd9ac0135867117683d7a8d20730067b16e8.tar.gz | |
Merge "Rename context.py to logs.py"
Diffstat (limited to 'openstackclient/shell.py')
| -rw-r--r-- | openstackclient/shell.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/openstackclient/shell.py b/openstackclient/shell.py index 16ba1aab..72521cb2 100644 --- a/openstackclient/shell.py +++ b/openstackclient/shell.py @@ -30,8 +30,8 @@ from oslo_utils import strutils import openstackclient from openstackclient.common import clientmanager from openstackclient.common import commandmanager -from openstackclient.common import context from openstackclient.common import exceptions as exc +from openstackclient.common import logs from openstackclient.common import timing from openstackclient.common import utils @@ -103,7 +103,7 @@ class OpenStackShell(app.App): def configure_logging(self): """Configure logging for the app.""" - self.log_configurator = context.LogConfigurator(self.options) + self.log_configurator = logs.LogConfigurator(self.options) self.dump_stack_trace = self.log_configurator.dump_trace def run(self, argv): @@ -249,8 +249,6 @@ class OpenStackShell(app.App): cloud=self.options.cloud, argparse=self.options, ) - if self.options.debug is not None: - self.options.debug = False self.log_configurator.configure(self.cloud) self.dump_stack_trace = self.log_configurator.dump_trace |
