Commit 3e741409 authored by 's avatar

Added an __len__ method to BaseRequest to make sure that if REQUEST: type

statements dont fail.
parent 114798fb
......@@ -82,7 +82,7 @@
# attributions are listed in the accompanying credits file.
#
##############################################################################
__version__='$Revision: 1.10 $'[11:-2]
__version__='$Revision: 1.11 $'[11:-2]
from string import join, split, find, rfind, lower, upper
from urllib import quote
......@@ -127,6 +127,9 @@ class BaseRequest:
for k, v in kw.items(): other[k]=v
self.other=other
def __len__(self):
return 1
def __setitem__(self,key,value):
"""Set application variables
......
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