diff --git a/lib/python/ZPublisher/BaseRequest.py b/lib/python/ZPublisher/BaseRequest.py index 1ad6ed13f0f51aeef25ec520c3874a12e4739f7c..0212792b940a1b4600df643ad667cf9eed68bcd2 100644 --- a/lib/python/ZPublisher/BaseRequest.py +++ b/lib/python/ZPublisher/BaseRequest.py @@ -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