Author: fw Date: 2009-10-11 19:00:26 +0000 (Sun, 11 Oct 2009) New Revision: 12993 Modified: bin/tracker_service.py Log: bin/tracker_service.py (TrackerService.page_redirect): handle empty argument Modified: bin/tracker_service.py ==================================================================--- bin/tracker_service.py 2009-10-11 18:17:20 UTC (rev 12992) +++ bin/tracker_service.py 2009-10-11 19:00:26 UTC (rev 12993) @@ -211,7 +211,10 @@ return self.page_object_or_redirect(url, obj, False) def page_redirect(self, path, params, url): - obj = path[0] + if path == (): + obj = '''' + else: + obj = path[0] return self.page_object_or_redirect(url, obj, True) def page_object_or_redirect(self, url, obj, redirect):