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

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
list() -> new empty list
list(iterable) -> new list initialized from iterable's items

src/c/o/collective.geo.file-0.6/collective/geo/file/browser/maplayer.py   collective.geo.file(Download)
from collective.geo.contentlocations.interfaces import IGeoManager
from collective.geo.file.interfaces import IGisFile
from collective.geo.file.config import MIMETYPES
 
try:
        for brain in brains:
            object = brain.getObject()
            if object.content_type in MIMETYPES:
                layers.append(KMLFileMapLayer(self.context,
                                object, zoom_here=False))