Skip to content
Snippets Groups Projects
Verified Commit ef9df935 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

REVIEW: change calls to logging.warning to logger.warning.

parent dac71b9a
No related branches found
No related tags found
1 merge request!22Release 0.3
__pycache__
.tox
.eggs
.coverage
*cache.db
*.egg-info
.docker/cert
src/caosadvancedtools/version.py
......@@ -224,7 +224,7 @@ class Crawler(object):
msg = ("The crawler has no matching rules for and is thus "
"ignoring:\n{}".format(item))
logging.warning(msg, extra={"identifier": str(item),
logger.warning(msg, extra={"identifier": str(item),
'category': "matches"})
if len(matches[idx]) > 1:
......@@ -233,7 +233,7 @@ class Crawler(object):
+ "\tRecordTypes:\t" + ", ".join(
matches[idx])+"\n")
logging.warning(msg, extra={"identifier": str(item),
logger.warning(msg, extra={"identifier": str(item),
'category': "matches"})
def cached_find_identifiables(self, identifiables):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment