/[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.6 by tvon, Thu Nov 6 00:07:08 2003 UTC revision 1.7 by tvon, Tue Nov 11 07:29:53 2003 UTC
# Line 16  from StringIO import StringIO Line 16  from StringIO import StringIO
16  import re  import re
17  import sys  import sys
18  import traceback  import traceback
19    import string
20    from random import Random, random
21    
22  class PACTool (UniqueObject, SimpleItem):  class PACTool (UniqueObject, SimpleItem):
23      id = 'pac_tool'      id = 'pac_tool'
# Line 330  class PACTool (UniqueObject, SimpleItem) Line 332  class PACTool (UniqueObject, SimpleItem)
332    
333          return None          return None
334    
335      def portalTransform(self):      def numTalkingPoints(self, folder):
336          from Products.PortalTransforms.BaseUnit import newBaseUnit          tp = []
337          pass          tp = folder.portal_catalog( path=string.join(
338                folder.getPhysicalPath()[:-1], '/'), meta_type = 'TalkingPoint')
339    
340            return tp
341    
342    
343    
344    
345  InitializeClass(PACTool)  InitializeClass(PACTool)

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

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