Merge "Do not import our namespace package"

This commit is contained in:
Jenkins 2015-02-18 03:48:03 +00:00 committed by Gerrit Code Review
commit f9dbf86379
4 changed files with 7 additions and 7 deletions

View File

@ -128,7 +128,7 @@ and --config-dir::
self.register_cli_opts(opts)
Option values are parsed from any supplied config files using
oslo.config.iniparser. If none are specified, a default set is used
oslo_config.iniparser. If none are specified, a default set is used
for example glance-api.conf and glance-common.conf::
glance-api.conf:
@ -271,7 +271,7 @@ Global ConfigOpts
This module also contains a global instance of the ConfigOpts class
in order to support a common usage pattern in OpenStack::
from oslo.config import cfg
from oslo_config import cfg
opts = [
cfg.StrOpt('bind_host', default='0.0.0.0'),

View File

@ -77,8 +77,8 @@ which the API user supplies to the library. For example::
from __future__ import print_function
from oslo.config.cfg import *
from oslo.config.cfgfilter import *
from oslo_config.cfg import *
from oslo_config.cfgfilter import *
class Widget(object):
@ -101,7 +101,7 @@ which the API user supplies to the library. For example::
import collections
import itertools
from oslo.config import cfg
from oslo_config import cfg
class ConfigFilter(collections.Mapping):

View File

@ -18,7 +18,7 @@
import fixtures
import six
from oslo.config import cfg
from oslo_config import cfg
class Config(fixtures.Fixture):

View File

@ -15,7 +15,7 @@
"""Type conversion and validation classes for configuration options.
Use these classes as values for the `type` argument to
:class:`oslo.config.cfg.Opt` and its subclasses.
:class:`oslo_config.cfg.Opt` and its subclasses.
"""
import netaddr