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

All Samples(8)  |  Call(3)  |  Derive(0)  |  Import(5)

src/e/r/erp5-HEAD/product/ZSQLCatalog/ZSQLCatalog.py   erp5(Download)
  from AccessControl.DTML import RestrictedDTML
from Products.CMFCore.utils import getToolByName
from Products.ERP5Type.Cache import clearCache
import string, sys
import time
      current_archive.cancel()
    self.setHotReindexingState(state=HOT_REINDEXING_FINISHED_STATE)
    clearCache(cache_factory_list=('erp5_content_short',))
 
  def cancelHotReindexing(self):

src/e/r/erp5-HEAD/product/ERP5Type/Base.py   erp5(Download)
from Products.ERP5Type.mixin.property_translatable import PropertyTranslatableBuiltInDictMixIn
from Products.ERP5Type.XMLExportImport import Base_asXML
from Products.ERP5Type.Cache import CachingMethod, clearCache, getReadOnlyTransactionCache
from Accessor import WorkflowState
from Products.ERP5Type.Log import log as unrestrictedLog

src/e/r/erp5-HEAD/product/ERP5Catalog/Tool/ArchiveTool.py   erp5(Download)
from Products.ERP5Type.Tool.BaseTool import BaseTool
from Products.ERP5Type import Permissions
from Products.ERP5Type.Cache import CachingMethod, clearCache
from Products.ERP5Catalog import _dtmldir
from zLOG import LOG, INFO

src/e/r/erp5-HEAD/product/ERP5Type/tests/testFolderMigration.py   erp5(Download)
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from Products.ERP5Type.tests.utils import LogInterceptor
from Products.ERP5Type.Cache import clearCache
 
class TestFolderMigration(ERP5TypeTestCase, LogInterceptor):
      self.folder.manage_delObjects(ids=list(self.folder.objectIds()))
      self.getPortal().manage_delObjects(ids=[self.folder.getId(),])
      clearCache()
      self.tic()
 

src/e/r/erp5-HEAD/product/ERP5Type/tests/testFolder.py   erp5(Download)
from Products.ERP5Type.tests.utils import createZODBPythonScript
from Products.ERP5Type.ERP5Type import ERP5TypeInformation
from Products.ERP5Type.Cache import clearCache
from AccessControl.ZopeGuards import guarded_getattr
from zExceptions import Unauthorized
      self.portal.manage_delObjects(ids=[self.folder.getId(),
                                          self.other_folder.getId()])
      clearCache()
      self.commit()