Did I find the right examples for you? yes no

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

src/p/r/Products.CMFSquidTool-1.5.1/Products/CMFSquidTool/SquidTool.py   Products.CMFSquidTool(Download)
from Products.CMFCore.FSObject import FSObject
from Products.CMFSquidTool.Permissions import *
from Products.CMFSquidTool.utils import pruneUrl, pruneAsync
from Products.CMFSquidTool.utils import logger
            # results to the response.  Otherwise we just queue it up.
            if REQUEST:
                status, xcache, xerror = pruneUrl(url, purge_type)
                # NOTE: if the purge was successfull status will be 200 (OK)