scripts: Removed clearly unused isinf condition in dat parser

This commit is contained in:
Christopher Haster
2025-02-21 18:14:37 -06:00
parent dcbc195b41
commit d90a8e87c4
4 changed files with 0 additions and 13 deletions

View File

@@ -60,9 +60,6 @@ def dat(x):
# then try as float
try:
return float(x)
# just don't allow infinity or nan
if mt.isinf(x) or mt.isnan(x):
raise ValueError("invalid dat %r" % x)
except ValueError:
pass