예제 #1
0
 def notfound(self):
     """Returns HTTPError with '404 not found' message"""
     parent = self.get_parent_app()
     if parent:
         return parent.notfound()
     else:
         return web._NotFound()
예제 #2
0
파일: application.py 프로젝트: alustig/OSPi
 def notfound(self):
     """Returns HTTPError with '404 not found' message"""
     parent = self.get_parent_app()
     if parent:
         return parent.notfound()
     else:
         return web._NotFound()
예제 #3
0
 def notfound(self):
     parent = self.get_parent_app()
     if parent:
         return parent.notfound()
     else:
         return web._NotFound()