From 014e19fc95c2c5afdc9486d1bacf2a0e9b8ecaca Mon Sep 17 00:00:00 2001 From: Steve Martinelli Date: Fri, 17 Jul 2015 12:44:34 -0700 Subject: [PATCH] Move cli.py into keystone.cmd Naturally cli.py should fit into the keystone.cmd module, rather than exist at the top level. Change-Id: I5d7fde38033c4221d41e2c2290038497da4fb0c5 --- keystone/{ => cmd}/cli.py | 0 keystone/cmd/manage.py | 2 +- keystone/tests/unit/test_cli.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename keystone/{ => cmd}/cli.py (100%) diff --git a/keystone/cli.py b/keystone/cmd/cli.py similarity index 100% rename from keystone/cli.py rename to keystone/cmd/cli.py diff --git a/keystone/cmd/manage.py b/keystone/cmd/manage.py index 31bf772129..da38278ea6 100644 --- a/keystone/cmd/manage.py +++ b/keystone/cmd/manage.py @@ -29,7 +29,7 @@ if os.path.exists(os.path.join(possible_topdir, '__init__.py')): sys.path.insert(0, possible_topdir) -from keystone import cli +from keystone.cmd import cli from keystone.common import environment diff --git a/keystone/tests/unit/test_cli.py b/keystone/tests/unit/test_cli.py index 8a95ddf327..3f37612ea5 100644 --- a/keystone/tests/unit/test_cli.py +++ b/keystone/tests/unit/test_cli.py @@ -19,7 +19,7 @@ import mock from oslo_config import cfg from six.moves import range -from keystone import cli +from keystone.cmd import cli from keystone.common import dependency from keystone.i18n import _ from keystone import resource