Did I find the right examples for you? yes no

All Samples(23)  |  Call(20)  |  Derive(1)  |  Import(2)

src/z/a/zanshin-0.6/zanshin/webdav_server.py   zanshin(Download)
            if not parent.exists:
                page = error.ErrorPage(
                    http.CONFLICT,
                    "Conflict",
                    "MKCOL Failed: The parent of %s doesn't exist" %
                      request.URLPath())
                return page.render(request)
            elif parent.isLeaf:
                page = error.ErrorPage(
                    http.CONFLICT,
        if not hasattr(self, "parent"):
            page = error.ErrorPage(
                http.CONFLICT,
                "Conflict",
                "Resource %s has no parent" % request.URLPath())
        if parent is None:
            request.setHeader('Allow', ', '.join(self._options(request.site)))
            epage = error.ErrorPage(http.NOT_ALLOWED,
                            "Method Not Allowed",
                            "Can't PUT to %s" % (request.path))
            return epage.render(request)
 
        if not parent.exists:
            epage = error.ErrorPage(http.NOT_FOUND,

src/f/l/flumotion-HEAD/flumotion/component/misc/httpserver/httpfile.py   flumotion(Download)
            if body.check(weberror.Error):
                err = body.value
                page = weberror.ErrorPage(err.status, err.message,
                                          err.response)
            elif body.check(fileprovider.UnavailableError):

src/w/e/Webmagic-12.4.12/webmagic/untwist.py   Webmagic(Download)
	from twisted.web.resource import ErrorPage
except ImportError:
	from twisted.web.error import ErrorPage
 
from twisted.web.http import HTTPChannel, datetimeToString
class HelpfulNoResource(ErrorPage):
	template = """\
<!doctype html>
<html>
<head>

src/w/e/Webmagic-12.4.12/webmagic/pathmanip.py   Webmagic(Download)
	from twisted.web.resource import ErrorPage
except ImportError:
	from twisted.web.error import ErrorPage
 
_postImportVars = vars().keys()

src/z/a/zanshin-0.6/tests/test_webdav.py   zanshin(Download)
            def renderFailure(request):
                import twisted.web.error
                page = twisted.web.error.ErrorPage(
                    code,
                    None,

src/u/n/UnitScan-HEAD/twisted/web/test/test_resource.py   UnitScan(Download)
    def errorPage(self, *args):
        return error.ErrorPage(*args)
 
 
    def noResource(self, *args):

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/web/test/test_resource.py   oh-mainline(Download)
    def errorPage(self, *args):
        return error.ErrorPage(*args)
 
 
    def noResource(self, *args):