Commit 7e380ee3 authored by Jim Fulton's avatar Jim Fulton

Changed close to clear, rather than remove the internal disctionary to avoid

breaking attribute lookup.
parent d2fcb472
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
# attributions are listed in the accompanying credits file. # attributions are listed in the accompanying credits file.
# #
############################################################################## ##############################################################################
__version__='$Revision: 1.15 $'[11:-2] __version__='$Revision: 1.16 $'[11:-2]
from string import join, split, find, rfind, lower, upper from string import join, split, find, rfind, lower, upper
from urllib import quote from urllib import quote
...@@ -126,12 +126,11 @@ class BaseRequest: ...@@ -126,12 +126,11 @@ class BaseRequest:
"""The constructor is not allowed to raise errors """The constructor is not allowed to raise errors
""" """
if other is None: other=kw if other is None: other=kw
else: else: other.update(kw)
for k, v in kw.items(): other[k]=v
self.other=other self.other=other
def close(self): def close(self):
del self.other self.other.clear()
self._held=None self._held=None
def processInputs(self): def processInputs(self):
......
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