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

All Samples(7)  |  Call(4)  |  Derive(0)  |  Import(3)

src/e/r/erp5-HEAD/product/ERP5Type/Error.py   erp5(Download)
 
from Products.ERP5Type.Base import Base
from Products.ERP5Type.Utils import getPath
from zLOG import LOG
from Products.ERP5Type.Globals import InitializeClass, DTMLFile
    """
    if kw.has_key('object_path'):
      self.object_path = getPath(kw['object_path'],tuple=1)
      del kw['object_path']
    self.summary = summary
    """
    if kw.has_key('object_path'):
      self.object_path = getPath(kw['object_path'],tuple=1)
      del kw['object_path']
    self.__dict__.update(kw)

src/e/r/erp5-HEAD/product/CMFActivity/ActiveResult.py   erp5(Download)
##############################################################################
 
from Products.ERP5Type.Utils import getPath
from zLOG import LOG, INFO
from Products.PythonScripts.Utility import allow_class
    """
    if 'object_path' in kw:
      self.object_path = getPath(kw.pop('object_path'), tuple=1)
    self.__dict__.update(kw)
 

src/e/r/erp5-HEAD/product/ERP5Form/ListBox.py   erp5(Download)
from Selection import Selection, DomainSelection
from Tool.SelectionTool import createFolderMixInPageSelectionMethod
from Products.ERP5Type.Utils import getPath
from Products.ERP5Type.Utils import UpperCase
from Products.ERP5Type.Document import newTempBase
    if list_method is not None:
      selection = self.getSelection()
      method_path = '%s/%s' % (getPath(self.getContext()), self.getListMethodName())
      list_url = '%s?selection_name=%s' % (self.getUrl(), self.getRequestedSelectionName())
      selection_index = self.getSelectionIndex()