domainaware / parsedmarc

A Python package and CLI for parsing aggregate and forensic DMARC reports
https://domainaware.github.io/parsedmarc/
Apache License 2.0
1.01k stars 219 forks source link

date_parser.py:35: date_obj = stz.localize(date_obj) #273

Closed hydroflash closed 2 years ago

hydroflash commented 3 years ago

date_parser.py:35: PytzUsageWarning: The localize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html date_obj = stz.localize(date_obj)

lnedry commented 2 years ago

I'm seeing the same warnings in my logs.