[netbsd] Skip invalid EOL date (#473)
Empty EOL cells are now recognized as `Â`, adding a condition to ignore them.
This commit is contained in:
@@ -25,7 +25,7 @@ with ProductData(config.product) as product_data:
|
|||||||
logging.warning(f"Skipping row {cells}, could not parse release date")
|
logging.warning(f"Skipping row {cells}, could not parse release date")
|
||||||
|
|
||||||
eol_str = cells[2]
|
eol_str = cells[2]
|
||||||
if not eol_str:
|
if not eol_str or eol_str == 'Â':
|
||||||
continue
|
continue
|
||||||
|
|
||||||
eol = dates.parse_date(eol_str)
|
eol = dates.parse_date(eol_str)
|
||||||
|
|||||||
Reference in New Issue
Block a user