root/qPloneEditorGroup/tags/0.2/exportimport.py
| Revision 797 (checked in by chervol, 2 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | from Products.CMFCore.utils import getToolByName |
| 2 | |
| 3 | from Products.GenericSetup.interfaces import IFilesystemImporter |
| 4 | from zope.component import queryAdapter |
| 5 | |
| 6 | def importPASContent(context): |
| 7 | acl_us = getToolByName(context.getSite(), 'acl_users') |
| 8 | IFilesystemImporter(acl_us).import_(context, 'PAS', True) |
Note: See TracBrowser for help on using the browser.
