mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix typos
This commit is contained in:
parent
4745bc6830
commit
b9482801f6
@ -29,7 +29,7 @@ class Arbiter(object):
|
|||||||
WORKERS = {}
|
WORKERS = {}
|
||||||
PIPE = []
|
PIPE = []
|
||||||
|
|
||||||
# I love dyanmic languages
|
# I love dynamic languages
|
||||||
SIG_QUEUE = []
|
SIG_QUEUE = []
|
||||||
SIGNALS = map(
|
SIGNALS = map(
|
||||||
lambda x: getattr(signal, "SIG%s" % x),
|
lambda x: getattr(signal, "SIG%s" % x),
|
||||||
@ -160,7 +160,7 @@ class Arbiter(object):
|
|||||||
return
|
return
|
||||||
except socket.error, e:
|
except socket.error, e:
|
||||||
if e[0] == errno.ENOTCONN:
|
if e[0] == errno.ENOTCONN:
|
||||||
self.log.error("should be a non GUNICORN environnement")
|
self.log.error("should be a non GUNICORN environment")
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
else:
|
else:
|
||||||
|
|||||||
@ -223,7 +223,7 @@ def run_paster():
|
|||||||
|
|
||||||
def get_app(parser, opts, args):
|
def get_app(parser, opts, args):
|
||||||
if len(args) != 1:
|
if len(args) != 1:
|
||||||
parser.error("No applicantion name specified.")
|
parser.error("No application name specified.")
|
||||||
|
|
||||||
config_file = os.path.abspath(os.path.normpath(
|
config_file = os.path.abspath(os.path.normpath(
|
||||||
os.path.join(os.getcwd(), args[0])))
|
os.path.join(os.getcwd(), args[0])))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user