summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Navarro <j@dannynavarro.net>2010-12-02 20:34:11 +0100
committerDanny Navarro <j@dannynavarro.net>2010-12-02 20:34:11 +0100
commit815471bf42ab88c1524755735fbb84126bb65563 (patch)
tree6446f2f22506b02c41b8028fef6a77dec6a4d41a
parent1220f3b8f869e4caf298d9acb5e5fffe0a86129e (diff)
downloadpyramid-815471bf42ab88c1524755735fbb84126bb65563.tar.gz
pyramid-815471bf42ab88c1524755735fbb84126bb65563.tar.bz2
pyramid-815471bf42ab88c1524755735fbb84126bb65563.zip
Fixed doc typo and removed unnecessary whitespaces
-rw-r--r--pyramid/threadlocal.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyramid/threadlocal.py b/pyramid/threadlocal.py
index f08057453..d99b0b734 100644
--- a/pyramid/threadlocal.py
+++ b/pyramid/threadlocal.py
@@ -5,13 +5,13 @@ from pyramid.registry import global_registry
class ThreadLocalManager(threading.local):
def __init__(self, default=None):
# http://code.google.com/p/google-app-engine-django/issues/detail?id=119
- # we *must* use a keword argument for ``default`` here instead
+ # we *must* use a keyword argument for ``default`` here instead
# of a positional argument to work around a bug in the
# implementation of _threading_local.local in Python, which is
# used by GAE instead of _thread.local
self.stack = []
self.default = default
-
+
def push(self, info):
self.stack.append(info)
@@ -58,4 +58,3 @@ def get_current_registry(context=None): # context required by getSiteManager API
tested nor scripted.
"""
return manager.get()['registry']
-