From: Scott Gasch Date: Sun, 11 Dec 2022 20:04:28 +0000 (-0800) Subject: Be less annoying. X-Git-Url: https://wannabe.guru.org/gitweb/?a=commitdiff_plain;h=e9266a3af23eda8cee1ac0a97471c71e4248671b;p=pyutils.git Be less annoying. --- diff --git a/src/pyutils/string_utils.py b/src/pyutils/string_utils.py index ae75ed0..1e791eb 100644 --- a/src/pyutils/string_utils.py +++ b/src/pyutils/string_utils.py @@ -1681,8 +1681,7 @@ def to_date(in_str: str) -> Optional[datetime.date]: d.parse(in_str) return d.get_date() except du.ParseException: # type: ignore - msg = f'Unable to parse date {in_str}.' - logger.warning(msg) + pass return None