mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Slight grammar tweak.
This commit is contained in:
parent
fdf8169a2c
commit
63e39e1232
@ -34,7 +34,7 @@ class Pidfile(object):
|
|||||||
# Write pidfile
|
# Write pidfile
|
||||||
fdir = os.path.dirname(self.fname)
|
fdir = os.path.dirname(self.fname)
|
||||||
if not os.path.isdir(fdir):
|
if not os.path.isdir(fdir):
|
||||||
raise RuntimeError("%s don't exist. Can't create pidfile" % fdir)
|
raise RuntimeError("%s doesn't exist. Can't create pidfile." % fdir)
|
||||||
fd, fname = tempfile.mkstemp(dir=fdir)
|
fd, fname = tempfile.mkstemp(dir=fdir)
|
||||||
os.write(fd, "%s\n" % self.pid)
|
os.write(fd, "%s\n" % self.pid)
|
||||||
if self.fname:
|
if self.fname:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user