Skip to content

Commit 7d685e1

Browse files
authored
Replace logging.info by logging.warning
1 parent 6710b40 commit 7d685e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openml/extensions/sklearn/extension.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ def match_format(s):
556556
index1 = s.index(match_format("Parameters"))
557557
except ValueError as e:
558558
# when sklearn docstring has no 'Parameters' section
559-
logging.info("{} {}".format(match_format("Parameters"), e))
559+
logging.warning("{} {}".format(match_format("Parameters"), e))
560560
return None
561561

562562
headings = ["Attributes", "Notes", "See also", "Note", "References"]
@@ -566,7 +566,7 @@ def match_format(s):
566566
index2 = s.index(match_format(h))
567567
break
568568
except ValueError:
569-
logging.info("{} not available in docstring".format(h))
569+
logging.warning("{} not available in docstring".format(h))
570570
continue
571571
else:
572572
# in the case only 'Parameters' exist, trim till end of docstring

0 commit comments

Comments
 (0)