1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

Misspelling check.

Fixed the spelling using the following command:

  misspellings -s fix.sh $(find * -type f)
  sh fix.sh

Nothing very important, just was using it for a quick test.
This commit is contained in:
Kevin Lyda
2013-03-03 16:27:39 +00:00
parent 9a0efa7fa7
commit d599aed09a
17 changed files with 26 additions and 26 deletions

View File

@ -1457,7 +1457,7 @@ class JSONPlugin(object):
if isinstance(rv, dict):
#Attempt to serialize, raises exception on failure
json_response = dumps(rv)
#Set content type only if serialization succesful
#Set content type only if serialization successful
response.content_type = 'application/json'
return json_response
return rv

View File

@ -96,7 +96,7 @@ try:
from base64 import decodebytes as _base64_decodebytes
except ImportError:
# Python 3.0-
# since CherryPy claims compability with Python 2.3, we must use
# since CherryPy claims compatibility with Python 2.3, we must use
# the legacy API of base64
from base64 import decodestring as _base64_decodebytes

View File

@ -598,7 +598,7 @@ class MemcachedSession(Session):
# Wrap all .get and .set operations in a single lock.
mc_lock = threading.RLock()
# This is a seperate set of locks per session id.
# This is a separate set of locks per session id.
locks = {}
servers = ['127.0.0.1:11211']

View File

@ -312,7 +312,7 @@ class Daemonizer(SimplePlugin):
process still return proper exit codes. Therefore, if you use this
plugin to daemonize, don't use the return code as an accurate indicator
of whether the process fully started. In fact, that return code only
indicates if the process succesfully finished the first fork.
indicates if the process successfully finished the first fork.
"""
def __init__(self, bus, stdin='/dev/null', stdout='/dev/null',

View File

@ -141,7 +141,7 @@ def get_sups():
def set_sups(target_sups):
"""
This is designed to give us a layer of abstraction from the system calls.
It also accomodates FreeBSD's idiosyncracy (which is POSIX-compliant) of
It also accommodates FreeBSD's idiosyncrasy (which is POSIX-compliant) of
keeping the egid in the supplementary groups list.
It also makes an effort to not call the setgroups routine if the target
group list is identical to the current one in force.