Commit 95e448cd authored by 's avatar

Merged stripped-context fix from 2.2 branch

parent 29371c26
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
# #
############################################################################## ##############################################################################
__doc__="""Find support""" __doc__="""Find support"""
__version__='$Revision: 1.19 $'[11:-2] __version__='$Revision: 1.20 $'[11:-2]
import sys, os, string, time, Globals, ExtensionClass import sys, os, string, time, Globals, ExtensionClass
...@@ -150,7 +150,7 @@ class FindSupport(ExtensionClass.Base): ...@@ -150,7 +150,7 @@ class FindSupport(ExtensionClass.Base):
if not hasattr(base, 'objectItems'): if not hasattr(base, 'objectItems'):
return result return result
try: items=base.objectItems() try: items=obj.objectItems()
except: return result except: return result
try: add_result=result.append try: add_result=result.append
...@@ -242,7 +242,7 @@ class FindSupport(ExtensionClass.Base): ...@@ -242,7 +242,7 @@ class FindSupport(ExtensionClass.Base):
if not hasattr(base, 'objectItems'): if not hasattr(base, 'objectItems'):
return result return result
try: items=base.objectItems() try: items=obj.objectItems()
except: return result except: return result
try: add_result=result.append try: add_result=result.append
......
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