@classmethod
    def search(cls, name, lookup=[]):
        if os.path.isfile(name): return name
        for spath in lookup:
            fname = os.path.join(spath, name)
            if os.path.isfile(fname):
                return fname
            for ext in cls.extensions:
                if os.path.isfile('%s.%s' % (fname, ext)):
                    return '%s.%s' % (fname, ext)
Do instances of L{pubsub.PubSubResource} provide L{iwokkel.IPubSubResource}?
dataset/ETHPy150Open adampresley/bottlepy-bootstrap/app/bottle.py/BaseTemplate.search--crossover with--dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_pubsub.py/PubSubResourceTest.test_interface