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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/m/e/mediadrop-HEAD/mediadrop/lib/auth/middleware.py   mediadrop(Download)
    def __call__(self, environ, start_response):
        environ['mediadrop.perm'] = \
            MediaDropPermissionSystem.permissions_for_request(environ, self.config)
        return self.app(environ, start_response)
 

src/m/e/mediadrop-HEAD/mediadrop/lib/test/request_mixin.py   mediadrop(Download)
                'repoze.who.userid': user.id,
            })
        perm = MediaDropPermissionSystem.permissions_for_request(wsgi_environ, self.pylons_config)
        wsgi_environ['mediadrop.perm'] = perm
        pylons.request.perm = perm