Switch to oslo_log

Change-Id: I1fe00ab7b0405422af76488245a67b3d68e29f06
This commit is contained in:
Rajiv Kumar 2017-01-18 16:49:01 +05:30
parent cfc7a0d562
commit 0d15f0ec52
12 changed files with 12 additions and 11 deletions

View File

@ -7,6 +7,7 @@ pbr>=1.8 # Apache-2.0
Django<1.9,>=1.8 # BSD Django<1.9,>=1.8 # BSD
django-compressor>=2.0 # MIT django-compressor>=2.0 # MIT
django-openstack-auth>=2.4.0 # Apache-2.0 django-openstack-auth>=2.4.0 # Apache-2.0
oslo.log>=3.11.0 # Apache-2.0
iso8601>=0.1.11 # MIT iso8601>=0.1.11 # MIT
python-designateclient>=1.5.0 # Apache-2.0 python-designateclient>=1.5.0 # Apache-2.0
python-keystoneclient>=3.8.0 # Apache-2.0 python-keystoneclient>=3.8.0 # Apache-2.0

View File

@ -19,10 +19,10 @@
# under the License. # under the License.
from __future__ import absolute_import from __future__ import absolute_import
import logging
from django.conf import settings from django.conf import settings
from manilaclient.v1 import client as manila_client from manilaclient.v1 import client as manila_client
from oslo_log import log as logging
from horizon import exceptions from horizon import exceptions
from horizon.utils.memoized import memoized # noqa from horizon.utils.memoized import memoized # noqa

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import logging from oslo_log import log as logging
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import logging from oslo_log import log as logging
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from sahara_dashboard.api import sahara as saharaclient from sahara_dashboard.api import sahara as saharaclient

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import logging from oslo_log import log as logging
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _

View File

@ -12,13 +12,13 @@
# limitations under the License. # limitations under the License.
import itertools import itertools
import logging
import uuid import uuid
from django.utils import encoding from django.utils import encoding
from django.utils import html from django.utils import html
from django.utils import safestring from django.utils import safestring
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from oslo_log import log as logging
from saharaclient.api import base as api_base from saharaclient.api import base as api_base
from horizon import exceptions from horizon import exceptions

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import logging from oslo_log import log as logging
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
import six import six

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import logging from oslo_log import log as logging
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import logging from oslo_log import log as logging
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import logging from oslo_log import log as logging
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import logging from oslo_log import log as logging
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import logging from oslo_log import log as logging
from django.core.exceptions import ValidationError from django.core.exceptions import ValidationError
from django.utils import safestring from django.utils import safestring