Commit 55b18188 authored by Andreas Jung's avatar Andreas Jung

Collector # 2375: fixed broken 'Find' tab functionality

parent 97e9ca44
......@@ -82,8 +82,8 @@
# attributions are listed in the accompanying credits file.
#
##############################################################################
'''$Id: DT_Util.py,v 1.81 2001/06/21 19:08:59 shane Exp $'''
__version__='$Revision: 1.81 $'[11:-2]
'''$Id: DT_Util.py,v 1.82 2001/07/05 12:19:40 andreas Exp $'''
__version__='$Revision: 1.82 $'[11:-2]
import re, os
from html_quote import html_quote # for import by other modules, dont remove!
......@@ -161,7 +161,7 @@ def careful_hasattr(md, inst, name):
get = getattr
try:
get(inst, name)
except (AttributeError, ValidationError):
except (AttributeError, ValidationError, KeyError):
return 0
else:
return 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment