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() |