Lines Matching defs:environ
91 def __init__(self, environ, start_response):
92 self.environ = environ
97 self.query = self.environ["QUERY_STRING"]
98 self.runtime_dir = self.environ["SYSREPO_RUNTIME_DIR"]
142 if self.environ.get("PKG5_TEST_ENV") == "True":
285 if hsh not in self.environ:
320 self.p5p_path = self.environ[hsh]
322 # The pathname return from environ contains
382 def _application(environ, start_response):
383 sysrepo = SysrepoP5p(environ, start_response)
419 def __call__(self, environ, start_response):
420 result, closeable = self.__application(environ, start_response)
446 environ = {}
450 environ["QUERY_STRING"] = unquote(sys.argv[1])
451 environ["SYSREPO_RUNTIME_DIR"] = os.environ["PWD"]
452 environ["PKG5_TEST_ENV"] = "True"
454 environ[hsh] = path
456 for response in application(environ, start_response):