Searched refs:old_environ (Results 1 – 14 of 14) sorted by relevance
19 self.old_environ = os.environ.copy()26 os.environ.update(self.old_environ)
24 old_environ = os.environ.copy()31 os.environ.update(old_environ)
126 self.old_environ = deepcopy(os.environ)129 for key, value in self.old_environ.items():134 if key not in self.old_environ:
134 self.old_environ = deepcopy(os.environ)137 for key, value in self.old_environ.items():142 if key not in self.old_environ:
253 old_environ = os.environ.copy()272 _ReplaceEnvDict(os.environ, old_environ)
43 self.old_environ = deepcopy(os.environ)63 for key, value in self.old_environ.items():68 if key not in self.old_environ:
331 def restore_environ(old_environ): argument333 os.environ.update(old_environ)
263 old_environ = os.environ.copy()282 _ReplaceEnvDict(os.environ, old_environ)
476 char **old_environ, const struct passwd *pw) in restore_environment() argument486 environ = old_environ; in restore_environment()1032 char **old_environ; in main() local1073 old_environ = environ; in main()1324 if (restore_environment(preserve_environment, old_environ, &pw)) { in main()
326 char* const* old_environ = GetEnvironment(); in LaunchProcess() local328 old_environ = &empty_environ; in LaunchProcess()330 new_environ = AlterEnvironment(old_environ, options.environ); in LaunchProcess()
328 def restore_environ(old_environ): argument330 os.environ.update(old_environ)452 def restore_environ(old_environ): argument454 os.environ.update(old_environ)
1027 old_environ = dict(os.environ)1043 os.environ.update(old_environ)
2633 old_environ = dict(os.environ)2648 os.environ.update(old_environ)
477 self.old_environ = os.environ.copy()480 os.environ = self.old_environ