Skip to content

Commit

Permalink
Collector # 2375: fixed broken 'Find' tab functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
zopyx committed Jul 5, 2001
1 parent 24d1534 commit fcab6a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DT_Util.py
Expand Up @@ -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!
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fcab6a9

Please sign in to comment.