328 |
# XXX: This probably should not need key[0] as key should probably |
# XXX: This probably should not need key[0] as key should probably |
329 |
# be a string and not a half-assed tuple |
# be a string and not a half-assed tuple |
330 |
if prop.split('|')[0] == key or prop.split('|')[0] == key: |
if prop.split('|')[0] == key or prop.split('|')[0] == key: |
331 |
return prop.split('|')[1] |
return prop.split('|')[1]expandPoliticalParty |
332 |
|
|
333 |
return None |
return None |
334 |
|
|
335 |
|
security.declarePublic('numTalkingPoints') |
336 |
def numTalkingPoints(self, folder): |
def numTalkingPoints(self, folder): |
337 |
tp = [] |
tp = [] |
338 |
tp = folder.portal_catalog( path=string.join( |
tp = folder.portal_catalog( path=string.join( |