source: products/quintagroup.plonegooglesitemaps/branches/sitemap_date/quintagroup/plonegooglesitemaps/Extensions/ping_googlesitemap.py @ 3565

Last change on this file since 3565 was 3152, checked in by zidane, 9 years ago

fixes pep8

  • Property svn:eol-style set to native
File size: 304 bytes
Line 
1from zope.event import notify
2from quintagroup.plonegooglesitemaps.events import AfterTransitionEvent
3
4
5def pingGoogleSitemap(stch):
6    notify(AfterTransitionEvent(stch.object,
7           stch.workflow, stch.old_state, stch.new_state,
8           stch.transition, stch.status, stch.kwargs))
9    return 0
Note: See TracBrowser for help on using the repository browser.