Parent Directory
|
Revision Log
|
Patch
| revision 1.11 by tvon, Wed Oct 8 00:44:40 2003 UTC | revision 1.12 by tvon, Sun Oct 12 02:05:46 2003 UTC | |
|---|---|---|
| # | Line 84 class ActionRecipientList(TemplateMixin, | Line 84 class ActionRecipientList(TemplateMixin, |
| 84 | ||
| 85 | return result | return result |
| 86 | ||
| def getPoliticalParties(self): | ||
| result = DisplayList() | ||
| try: | ||
| props = self.portal_properties.pac_properties.getProperty('political_parties') | ||
| except: | ||
| return DisplayList(()) | ||
| mylist = [] | ||
| for item in props: | ||
| mylist.append(item.split('|')) | ||
| for item in mylist: | ||
| result.add(item[0], item[1]) | ||
| return result | ||
| 87 | ||
| 88 | registerType(ActionRecipientList) | registerType(ActionRecipientList) |
|
||||||||
| savannah-hackers-public@gnu.org | ViewVC Help |
| Powered by ViewVC 1.1.26 |