The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.
The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.
Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.
Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages
Change-Id: I950f1afb1b4600dfc1f38d1a7d9322f240f444a6
import sys
import textwrap
-from oslo.config import cfg
-from oslo.utils import importutils
+from oslo_config import cfg
+from oslo_utils import importutils
import six
import stevedore.named
import random
import time
-from oslo.config import cfg
+from oslo_config import cfg
import six
from cinder.openstack.common._i18n import _, _LE, _LI
import operator
-from oslo.utils import strutils
+from oslo_utils import strutils
# 1. The following operations are supported:
# =, s==, s!=, s>=, s>, s<=, s<, <in>, <is>, <or>, ==, !=, >=, <=
import operator
-from oslo.serialization import jsonutils
+from oslo_serialization import jsonutils
import six
from cinder.openstack.common.scheduler import filters