Skip to content

Commit

Permalink
REVERT: inhibit warning from googleapiclient.discovery_cache (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
louking committed Feb 11, 2022
1 parent fa3b35c commit 43de62c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
'''
# standard
import os.path
from logging import getLogger, ERROR

# pypi
from flask_migrate import Migrate
Expand Down Expand Up @@ -37,9 +36,6 @@
# turn on logging
setlogging()

# see https://github.com/googleapis/google-api-python-client/issues/299#issuecomment-255793971
getLogger('googleapicliet.discovery_cache').setLevel(ERROR)

migrate = Migrate(app, db, compare_type=True)
members = Members(app, db)
membership = Membership(app, db)
Expand Down
4 changes: 0 additions & 4 deletions members/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

# standard
import os.path
from logging import getLogger, ERROR

# pypi
from flask import Flask, send_from_directory, g, session, request, url_for, render_template, current_app
Expand Down Expand Up @@ -161,9 +160,6 @@ def security_send_mail(subject, recipient, template, **context):
from .applogging import setlogging
setlogging()

# see https://github.com/googleapis/google-api-python-client/issues/299#issuecomment-255793971
getLogger('googleapicliet.discovery_cache').setLevel(ERROR)

# set up scoped session
from sqlalchemy.orm import scoped_session, sessionmaker
# see https://github.com/pallets/flask-sqlalchemy/blob/706982bb8a096220d29e5cef156950237753d89f/flask_sqlalchemy/__init__.py#L990
Expand Down

0 comments on commit 43de62c

Please sign in to comment.