summaryrefslogtreecommitdiff
path: root/keystonemiddleware/ec2_token.py
diff options
context:
space:
mode:
authorJanonymous <janonymous.codevulture@gmail.com>2017-01-13 02:39:33 +0000
committerJaivish Kothari(janonymous) <jaivish.kothari@nectechnologies.in>2017-01-13 03:24:18 +0000
commitf4d453ec30dacc6824ca6148a56ae91249979dce (patch)
tree3b28bbf6c7884d0e88381043cfd013caf3ba9103 /keystonemiddleware/ec2_token.py
parent0c1dee4a9d2560ea90af468660a3732ef2d733a7 (diff)
downloadkeystonemiddleware-f4d453ec30dacc6824ca6148a56ae91249979dce.tar.gz
use oslo.log instead of logging
The constants of log levels were added in the 1.8 version of the oslo.log library. So we can replace all usage of system logging module with log module from oslo.log Change-Id: I97a1d913b543dc9dbd4d228b04adbdf7ee320df5
Diffstat (limited to 'keystonemiddleware/ec2_token.py')
-rw-r--r--keystonemiddleware/ec2_token.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystonemiddleware/ec2_token.py b/keystonemiddleware/ec2_token.py
index 27375a7..5fe6096 100644
--- a/keystonemiddleware/ec2_token.py
+++ b/keystonemiddleware/ec2_token.py
@@ -18,9 +18,9 @@
"""Starting point for routing EC2 requests."""
import hashlib
-import logging
from oslo_config import cfg
+from oslo_log import log as logging
from oslo_serialization import jsonutils
import requests
import six