1.1 --- a/WebStack/Resources/ResourceMap.py Fri Aug 19 13:26:25 2005 +0000
1.2 +++ b/WebStack/Resources/ResourceMap.py Fri Aug 19 13:26:51 2005 +0000
1.3 @@ -58,15 +58,16 @@
1.4 # path info consists of a "/" character plus some other text), the first
1.5 # part should always be empty and there should always be a second part.
1.6 # Where the published resource has no path info defined, there will only
1.7 - # be one part. In the latter case, we define the name to be None,
1.8 - # although the name will not be relevant if directory_redirects is set.
1.9 + # be one part. In the latter case, we define the name to be the empty
1.10 + # string, although the name will not be relevant if directory_redirects
1.11 + # is set.
1.12
1.13 if len(parts) > 1:
1.14 name = parts[1]
1.15 elif self.directory_redirects:
1.16 self.send_redirect(trans)
1.17 else:
1.18 - name = None
1.19 + name = ""
1.20
1.21 # Get the mapped resource.
1.22