Remove unused logging import

Change-Id: I4115c3721a5b931749ba73754d3d5307ca8a5236
This commit is contained in:
Anh Tran
2017-02-20 11:51:23 +07:00
parent cd786d412d
commit 79b13b514d
3 changed files with 0 additions and 11 deletions

View File

@@ -15,16 +15,12 @@
import flask import flask
from oslo_config import cfg from oslo_config import cfg
from oslo_log import log as logging
from six.moves.urllib import parse from six.moves.urllib import parse
import time import time
from stackalytics.dashboard import vault from stackalytics.dashboard import vault
LOG = logging.getLogger(__name__)
DEFAULTS = { DEFAULTS = {
'review_nth': 5, 'review_nth': 5,
} }

View File

@@ -15,11 +15,8 @@
import re import re
from oslo_log import log as logging
from stackalytics.processor import user_processor from stackalytics.processor import user_processor
LOG = logging.getLogger(__name__)
def _find_ci_result(review, drivers): def _find_ci_result(review, drivers):
"""For a given stream of reviews yields results produced by CIs.""" """For a given stream of reviews yields results produced by CIs."""

View File

@@ -13,16 +13,12 @@
# 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.
from oslo_log import log as logging
import six import six
from stackalytics.processor import user_processor from stackalytics.processor import user_processor
from stackalytics.processor import utils from stackalytics.processor import utils
LOG = logging.getLogger(__name__)
def _normalize_user(user): def _normalize_user(user):
for c in user['companies']: for c in user['companies']:
c['end_date'] = utils.date_to_timestamp(c['end_date']) c['end_date'] = utils.date_to_timestamp(c['end_date'])