Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/r/Products.membrane-2.1.11/Products/membrane/tests/testSiteRename.py   Products.membrane(Download)
        # Basically we need to become a manager to perform a plone site rename.
        sm = getSecurityManager()
        self.loginAsPortalOwner()
        try:
            top.manage_renameObjects([id], [newId])