summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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']
-