/[pac]/pac/PACDefault/Extensions/Install.py
ViewVC logotype

Diff of /pac/PACDefault/Extensions/Install.py

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

revision 1.3 by tvon, Tue Sep 30 03:57:38 2003 UTC revision 1.4 by tvon, Wed Oct 8 00:44:40 2003 UTC
# Line 28  def install(self): Line 28  def install(self):
28          else:          else:
29              pac_props._setProperty(item[0], item[1], item[2])              pac_props._setProperty(item[0], item[1], item[2])
30    
     # Setup Actions  
     if 'pac_actions' not in prop_tool.objectIds():  
         prop_tool.manage_addPropertySheet('pac_actions',  
                 'Public Action Center Actions')  
   
     pac_actions = prop_tool.pac_actions  
                                                                                   
     for item in actions:  
         if pac_actions.hasProperty(item[0]):  
             pac_actions._updateProperty(item[0], item[1])  
         else:  
             pac_actions._setProperty(item[0], item[1], item[2])  
   
   
31      print >> out, "Successfully installed %s." % PROJECTNAME      print >> out, "Successfully installed %s." % PROJECTNAME
32      return out.getvalue()      return out.getvalue()

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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