Make utils file private
The utils file should be considered private to keystoneauth. The positional function is hopefully being moved to debtcollector. Change-Id: I6ded5aaa120bbf7ee8b7c173c3b069eaf682f2c7
This commit is contained in:
parent
32bd7a5d74
commit
c98b0027e7
@ -19,9 +19,9 @@ import functools
|
|||||||
|
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
|
|
||||||
|
from keystoneauth import _utils as utils
|
||||||
from keystoneauth.i18n import _
|
from keystoneauth.i18n import _
|
||||||
from keystoneauth import service_catalog
|
from keystoneauth import service_catalog
|
||||||
from keystoneauth import utils
|
|
||||||
|
|
||||||
|
|
||||||
# gap, in seconds, to determine whether the given token is about to expire
|
# gap, in seconds, to determine whether the given token is about to expire
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from keystoneauth import utils
|
from keystoneauth import _utils as utils
|
||||||
|
|
||||||
|
|
||||||
class Adapter(object):
|
class Adapter(object):
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
from keystoneauth import _utils as utils
|
||||||
from keystoneauth.auth import base
|
from keystoneauth.auth import base
|
||||||
from keystoneauth import utils
|
|
||||||
|
|
||||||
|
|
||||||
@utils.positional()
|
@utils.positional()
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
|
from keystoneauth import _utils as utils
|
||||||
from keystoneauth.auth.identity import base
|
from keystoneauth.auth.identity import base
|
||||||
from keystoneauth import utils
|
|
||||||
|
|
||||||
|
|
||||||
class AccessInfoPlugin(base.BaseIdentityPlugin):
|
class AccessInfoPlugin(base.BaseIdentityPlugin):
|
||||||
|
@ -16,11 +16,11 @@ import logging
|
|||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
import six
|
import six
|
||||||
|
|
||||||
|
from keystoneauth import _utils as utils
|
||||||
from keystoneauth.auth import base
|
from keystoneauth.auth import base
|
||||||
from keystoneauth import discover
|
from keystoneauth import discover
|
||||||
from keystoneauth import exceptions
|
from keystoneauth import exceptions
|
||||||
from keystoneauth.i18n import _LW
|
from keystoneauth.i18n import _LW
|
||||||
from keystoneauth import utils
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -14,11 +14,11 @@ import logging
|
|||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
|
from keystoneauth import _utils as utils
|
||||||
from keystoneauth.auth.identity.generic import base
|
from keystoneauth.auth.identity.generic import base
|
||||||
from keystoneauth.auth.identity import v2
|
from keystoneauth.auth.identity import v2
|
||||||
from keystoneauth.auth.identity import v3
|
from keystoneauth.auth.identity import v3
|
||||||
from keystoneauth import discover
|
from keystoneauth import discover
|
||||||
from keystoneauth import utils
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -16,10 +16,10 @@ import logging
|
|||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
import six
|
import six
|
||||||
|
|
||||||
|
from keystoneauth import _utils as utils
|
||||||
from keystoneauth import access
|
from keystoneauth import access
|
||||||
from keystoneauth.auth.identity import base
|
from keystoneauth.auth.identity import base
|
||||||
from keystoneauth import exceptions
|
from keystoneauth import exceptions
|
||||||
from keystoneauth import utils
|
|
||||||
|
|
||||||
_logger = logging.getLogger(__name__)
|
_logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -16,11 +16,11 @@ import logging
|
|||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
import six
|
import six
|
||||||
|
|
||||||
|
from keystoneauth import _utils as utils
|
||||||
from keystoneauth import access
|
from keystoneauth import access
|
||||||
from keystoneauth.auth.identity import base
|
from keystoneauth.auth.identity import base
|
||||||
from keystoneauth import exceptions
|
from keystoneauth import exceptions
|
||||||
from keystoneauth.i18n import _
|
from keystoneauth.i18n import _
|
||||||
from keystoneauth import utils
|
|
||||||
|
|
||||||
_logger = logging.getLogger(__name__)
|
_logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -24,9 +24,9 @@ raw data specified in version discovery responses.
|
|||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
from keystoneauth import _utils as utils
|
||||||
from keystoneauth import exceptions
|
from keystoneauth import exceptions
|
||||||
from keystoneauth.i18n import _, _LI, _LW
|
from keystoneauth.i18n import _, _LI, _LW
|
||||||
from keystoneauth import utils
|
|
||||||
|
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
@ -14,7 +14,7 @@ import datetime
|
|||||||
|
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
|
|
||||||
from keystoneauth import utils
|
from keystoneauth import _utils as utils
|
||||||
|
|
||||||
__all__ = ['DiscoveryList',
|
__all__ = ['DiscoveryList',
|
||||||
'V2Discovery',
|
'V2Discovery',
|
||||||
|
@ -20,9 +20,9 @@ import abc
|
|||||||
|
|
||||||
import six
|
import six
|
||||||
|
|
||||||
|
from keystoneauth import _utils as utils
|
||||||
from keystoneauth import exceptions
|
from keystoneauth import exceptions
|
||||||
from keystoneauth.i18n import _
|
from keystoneauth.i18n import _
|
||||||
from keystoneauth import utils
|
|
||||||
|
|
||||||
|
|
||||||
@six.add_metaclass(abc.ABCMeta)
|
@six.add_metaclass(abc.ABCMeta)
|
||||||
|
@ -27,9 +27,9 @@ import requests
|
|||||||
import six
|
import six
|
||||||
from six.moves import urllib
|
from six.moves import urllib
|
||||||
|
|
||||||
|
from keystoneauth import _utils as utils
|
||||||
from keystoneauth import exceptions
|
from keystoneauth import exceptions
|
||||||
from keystoneauth.i18n import _, _LI, _LW
|
from keystoneauth.i18n import _, _LI, _LW
|
||||||
from keystoneauth import utils
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import netaddr
|
import netaddr
|
||||||
|
Loading…
Reference in New Issue
Block a user