X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=type%2Fcentcount.py;fp=type%2Fcentcount.py;h=ce18975167573a236cf2a9ee3f04604333d9c82d;hb=a08ca309cb5bd7971210a9247a38c9bbe376a6e6;hp=4181721bbc0d4ab7efe38608b821faa26ecf5bae;hpb=4faa994d32223c8d560d9dad0ca90a3f7eb10d6a;p=python_utils.git 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)