mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix typos in comments
This commit is contained in:
parent
fa8b8ebda9
commit
13d193736d
@ -408,13 +408,13 @@ class Arbiter(object):
|
|||||||
|
|
||||||
os.chdir(self.START_CTX['cwd'])
|
os.chdir(self.START_CTX['cwd'])
|
||||||
|
|
||||||
# exec the process using the original environnement
|
# exec the process using the original environment
|
||||||
os.execvpe(self.START_CTX[0], self.START_CTX['args'], environ)
|
os.execvpe(self.START_CTX[0], self.START_CTX['args'], environ)
|
||||||
|
|
||||||
def reload(self):
|
def reload(self):
|
||||||
old_address = self.cfg.address
|
old_address = self.cfg.address
|
||||||
|
|
||||||
# reset old environement
|
# reset old environment
|
||||||
for k in self.cfg.env:
|
for k in self.cfg.env:
|
||||||
if k in self.cfg.env_orig:
|
if k in self.cfg.env_orig:
|
||||||
# reset the key to the value it had before
|
# reset the key to the value it had before
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user