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

All Samples(102)  |  Call(65)  |  Derive(0)  |  Import(37)

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSFile.py   Products.CMFCore(Download)
from zope.contenttype import guess_content_type
 
from Products.CMFCore.DirectoryView import registerFileExtension
from Products.CMFCore.DirectoryView import registerMetaType
from Products.CMFCore.FSObject import FSObject
InitializeClass(FSFile)
 
registerFileExtension('doc', FSFile)
registerFileExtension('txt', FSFile)
registerFileExtension('pdf', FSFile)
registerFileExtension('swf', FSFile)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/FSBLProcess.py   Products.BastionLedger(Download)
 
from Products.CMFCore.utils import getPackageName
from Products.CMFCore.DirectoryView import _dirreg, registerFileExtension, registerMetaType, \
     DirectoryView, DirectoryViewSurrogate, DirectoryRegistry, DirectoryInformation, \
     _generateKey, _findProductForPath
 
# normal skins directory registration
registerFileExtension('ent', FSBLEntryTemplate)
 
registerMetaType('FSBLEntryTemplate', FSBLEntryTemplate)

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSImage.py   Products.CMFCore(Download)
from OFS.Image import Image
 
from Products.CMFCore.DirectoryView import registerFileExtension
from Products.CMFCore.DirectoryView import registerMetaType
from Products.CMFCore.FSObject import FSObject
InitializeClass(FSImage)
 
registerFileExtension('gif', FSImage)
registerFileExtension('jpg', FSImage)
registerFileExtension('jpeg', FSImage)
registerFileExtension('png', FSImage)

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSPageTemplate.py   Products.CMFCore(Download)
from Shared.DC.Scripts.Script import Script
 
from Products.CMFCore.DirectoryView import registerFileExtension
from Products.CMFCore.DirectoryView import registerMetaType
from Products.CMFCore.FSObject import FSObject
InitializeClass(FSPageTemplate)
 
registerFileExtension('pt', FSPageTemplate)
registerFileExtension('zpt', FSPageTemplate)
registerFileExtension('html', FSPageTemplate)
registerFileExtension('htm', FSPageTemplate)

src/t/o/tomcom.plone.base-4.3.1.4/tomcom/plone/base/__init__.py   tomcom.plone.base(Download)
 
 
from Products.CMFCore.DirectoryView import registerFileExtension
from Products.CMFCore.FSFile import FSFile
from Products.CMFCore import DirectoryView
 
registerFileExtension('woff', FSFile)
registerFileExtension('eot', FSFile)
registerFileExtension('ttf', FSFile)
registerFileExtension('html', FSFile)

src/c/o/collective.shinythings-0.6dev-r117588/collective/shinythings/__init__.py   collective.shinythings(Download)
from Products.CMFCore.FSFile import FSFile
from Products.CMFCore.DirectoryView import registerFileExtension
from Products.CMFCore.DirectoryView import registerMetaType
 
registerFileExtension('ttf', FSFile)
registerFileExtension('svg', FSFile)
registerFileExtension('woff', FSFile)
registerFileExtension('eot', FSFile)

src/m/e/medialog.googlefonts-2.0.2/medialog/googlefonts/__init__.py   medialog.googlefonts(Download)
from Products.CMFCore.FSFile import FSFile
from Products.CMFCore.DirectoryView import registerFileExtension
from Products.CMFCore.DirectoryView import registerMetaType
 
registerFileExtension('ttf', FSFile)
registerFileExtension('svg', FSFile)
registerFileExtension('woff', FSFile)
registerFileExtension('eot', FSFile)

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSZSQLMethod.py   Products.CMFCore(Download)
from Products.ZSQLMethods.SQL import SQL
 
from Products.CMFCore.DirectoryView import registerFileExtension
from Products.CMFCore.DirectoryView import registerMetaType
from Products.CMFCore.FSObject import FSObject
InitializeClass(FSZSQLMethod)
 
registerFileExtension('zsql', FSZSQLMethod)
registerMetaType('Z SQL Method', FSZSQLMethod)
 

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSSTXMethod.py   Products.CMFCore(Download)
from zope.structuredtext import stx2html
 
from Products.CMFCore.DirectoryView import registerFileExtension
from Products.CMFCore.DirectoryView import registerMetaType
from Products.CMFCore.FSObject import FSObject
InitializeClass(FSSTXMethod)
 
registerFileExtension('stx', FSSTXMethod)
registerMetaType('STX Method', FSSTXMethod)
 

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSReSTMethod.py   Products.CMFCore(Download)
from Products.PageTemplates.ZopePageTemplate import ZopePageTemplate
 
from Products.CMFCore.DirectoryView import registerFileExtension
from Products.CMFCore.DirectoryView import registerMetaType
from Products.CMFCore.FSObject import FSObject
InitializeClass(FSReSTMethod)
 
registerFileExtension('rst', FSReSTMethod)
registerMetaType('ReST Method', FSReSTMethod)
 

  1 | 2 | 3 | 4  Next