diff --git a/roundup/hyperdb.py b/roundup/hyperdb.py
index 8825eb7fe5e08b3b58da806e3158c8df9046c12b..93f93b8c315738f1384ac329c81482f82cd3e085 100644 (file)
--- a/roundup/hyperdb.py
+++ b/roundup/hyperdb.py
for k in propname_path.split('.'):
try:
prop = props[k]
- except KeyError, TypeError:
+ except (KeyError, TypeError):
return default
cl = getattr(prop, 'classname', None)
props = None