Fix typos

This commit is contained in:
jbergstroem 2010-02-06 11:36:46 +01:00 committed by Paul J. Davis
parent 4745bc6830
commit b9482801f6
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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])))