From a08ca309cb5bd7971210a9247a38c9bbe376a6e6 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Thu, 29 Jul 2021 09:11:05 -0700 Subject: Lockfile custom command, fixup minor things. --- type/centcount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'type/centcount.py') diff --git a/type/centcount.py b/type/centcount.py index 4181721..ce18975 100644 --- a/type/centcount.py +++ b/type/centcount.py @@ -210,7 +210,7 @@ class CentCount(object): centcount = int(float(chunk) * 100.0) elif CentCount.CURRENCY_RE.match(chunk) is not None: currency = chunk - except: + except Exception: pass if centcount is not None and currency is not None: return (centcount, currency) -- cgit v1.3