source: products/quintagroup.canonicalurl/trunk/quintagroup/canonicalurl/subscribers.py

Last change on this file was 494, checked in by crchemist, 18 years ago

Added templates for appropriate mails

File size: 354 bytes
Line 
1from interfaces import IDomainsMapExtractor
2
3def add_domains_map(context, event):
4    """Add to request PATH-DOMAIN map.
5    """
6    pd_map = None
7    extractor = IDomainsMapExtractor(context, None)
8    if extractor is not None:
9        pd_map = extractor.getDomainsMap()
10
11    if pd_map is not None:
12        event.request.set('path_domain_map', pd_map)
13
Note: See TracBrowser for help on using the repository browser.