EventAggregatorSupport.py | raw changeset files shortlog |
1.1 --- a/EventAggregatorSupport.py Wed Feb 03 20:54:14 2010 +0100 1.2 +++ b/EventAggregatorSupport.py Thu Feb 04 00:24:01 2010 +0100 1.3 @@ -500,7 +500,7 @@ 1.4 1.5 title = self.page.getPageName() 1.6 1.7 - if event_parent is not None and title.startswith(event_parent): 1.8 + if event_parent and title.startswith(event_parent): 1.9 title = title[len(event_parent.rstrip("/")) + 1:] 1.10 1.11 return getPrettyTitle(title)