From 815471bf42ab88c1524755735fbb84126bb65563 Mon Sep 17 00:00:00 2001 From: Danny Navarro Date: Thu, 2 Dec 2010 20:34:11 +0100 Subject: Fixed doc typo and removed unnecessary whitespaces --- pyramid/threadlocal.py | 5 ++--- 1 file 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'] - -- cgit v1.2.3