/[pac]/pac/PACDefault/PACTool.py
ViewVC logotype

Diff of /pac/PACDefault/PACTool.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by tvon, Tue Nov 11 07:29:53 2003 UTC revision 1.8 by tvon, Tue Nov 11 12:29:32 2003 UTC
# Line 328  class PACTool (UniqueObject, SimpleItem) Line 328  class PACTool (UniqueObject, SimpleItem)
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(

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26