Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
55b18188
Commit
55b18188
authored
Jul 05, 2001
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Collector # 2375: fixed broken 'Find' tab functionality
parent
97e9ca44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/python/DocumentTemplate/DT_Util.py
lib/python/DocumentTemplate/DT_Util.py
+3
-3
No files found.
lib/python/DocumentTemplate/DT_Util.py
View file @
55b18188
...
...
@@ -82,8 +82,8 @@
# attributions are listed in the accompanying credits file.
#
##############################################################################
'''$Id: DT_Util.py,v 1.8
1 2001/06/21 19:08:59 shane
Exp $'''
__version__
=
'$Revision: 1.8
1
$'
[
11
:
-
2
]
'''$Id: DT_Util.py,v 1.8
2 2001/07/05 12:19:40 andreas
Exp $'''
__version__
=
'$Revision: 1.8
2
$'
[
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment