[Zope] testing for "REQUEST is not None"

Andy McKay andy@agmweb.ca
Wed, 6 Nov 2002 16:45:53 -0800


> instead of just:
>
>    if REQUEST:

Because this tests it against more than being just None. For example an
empty dict, string of zero length etc would all pass.
--
  Andy McKay
  www.agmweb.ca