Permalink
Browse files

Add transaction notes to the add_*py scripts, so these transactions

show up in the zope undo log. (Only the root log at the moment, I
can't remember how to tell zope what folder the transaction belongs to)


git-svn-id: https://svn.socialplanning.org/svn/opencore/trunk@15342 40f73b84-6177-4a8e-8c61-7eee4b1974ed
  • Loading branch information...
slinkp committed Mar 31, 2008
1 parent c64b41d commit 801a1afcf0a7fc19eb416d6b7d1df8a1fdbc09e4
Showing with 2 additions and 0 deletions.
  1. +1 −0 add_maildrop.py
  2. +1 −0 add_openplans.py
View
@@ -28,6 +28,7 @@
# Nothing else to configure; MaildropHost reads most of its config from
# the filesystem.
+transaction.get().note('Replacing old MailHost with a Maildrop Host')
transaction.commit()
print "successfully added MaildropHost at", \
'/'.join(site[mh_id].getPhysicalPath())
View
@@ -19,4 +19,5 @@
factory = app.manage_addProduct['CMFPlone'].addPloneSite
factory(site_id, site_title, extension_ids=profiles)
+ transaction.get().note('Adding openplans site')
transaction.commit()

0 comments on commit 801a1af

Please sign in to comment.