Skip to content

Commit

Permalink
fix typo and add NullHandler to logger in query_builder
Browse files Browse the repository at this point in the history
  • Loading branch information
trentonsmith-wf committed Nov 18, 2016
1 parent 3559f5b commit b5a88cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bigquery/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
JOB_DESTINATION_FORMAT_CSV = JOB_FORMAT_CSV

logger = getLogger(__name__)
logger.addHandler(logging.NullHandler())
logger.addHandler(NullHandler())


def get_client(project_id=None, credentials=None,
Expand Down
3 changes: 2 additions & 1 deletion bigquery/query_builder.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from logging import getLogger
from logging import getLogger, NullHandler

logger = getLogger(__name__)
logger.addHandler(NullHandler())


def render_query(dataset, tables, select=None, conditions=None,
Expand Down

0 comments on commit b5a88cb

Please sign in to comment.