Use standard logging in oslo.policy

Oslo libraries should not depend on oslo.log, we should use
standard logging, as noted in the graduation guidelines.

partially implements bp graduate-policy

Change-Id: I9d3973ad4b5b32922fa56881b679ad9e403289ea
This commit is contained in:
Steve Martinelli 2015-02-10 14:49:07 -05:00
parent 08063fc1dc
commit d36b4de2ce
3 changed files with 3 additions and 3 deletions

View File

@ -14,9 +14,10 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import logging
import re import re
from oslo_log import log as logging
import six import six
from oslo_policy import _checks from oslo_policy import _checks

View File

@ -202,10 +202,10 @@ by setting the ``policy_default_rule`` configuration setting to the
desired rule name. desired rule name.
""" """
import logging
import os import os
from oslo_config import cfg from oslo_config import cfg
from oslo_log import log as logging
from oslo_serialization import jsonutils from oslo_serialization import jsonutils
import six import six

View File

@ -4,5 +4,4 @@
oslo.config>=1.6.0 # Apache-2.0 oslo.config>=1.6.0 # Apache-2.0
oslo.i18n>=1.3.0 # Apache-2.0 oslo.i18n>=1.3.0 # Apache-2.0
oslo.log>=0.1.0 # Apache-2.0
oslo.serialization>=1.2.0 # Apache-2.0 oslo.serialization>=1.2.0 # Apache-2.0