Commit ffa14fd7 authored by Shane Hathaway's avatar Shane Hathaway

Merge of session test fix from 2_5 branch. ObjectManager._delObject() can

throw either AttributeError or KeyError; catch either.
parent bd54644f
......@@ -72,16 +72,16 @@ def _populate(app):
requestName='TESTOFSESSION')
try: app._delObject(idmgr_name)
except AttributeError: pass
except (AttributeError, KeyError): pass
try: app._delObject(tf_name)
except AttributeError: pass
except (AttributeError, KeyError): pass
try: app._delObject(sdm_name)
except AttributeError: pass
except (AttributeError, KeyError): pass
try: app._delObject('index_html')
except AttributeError: pass
except (AttributeError, KeyError): pass
app._setObject(idmgr_name, bidmgr)
......
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