Lockfile custom command, fixup minor things.
[python_utils.git] / type / centcount.py
index 4181721bbc0d4ab7efe38608b821faa26ecf5bae..ce18975167573a236cf2a9ee3f04604333d9c82d 100644 (file)
@@ -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)