diff options
| author | Danny Navarro <j@dannynavarro.net> | 2010-12-02 20:34:11 +0100 |
|---|---|---|
| committer | Danny Navarro <j@dannynavarro.net> | 2010-12-02 20:34:11 +0100 |
| commit | 815471bf42ab88c1524755735fbb84126bb65563 (patch) | |
| tree | 6446f2f22506b02c41b8028fef6a77dec6a4d41a | |
| parent | 1220f3b8f869e4caf298d9acb5e5fffe0a86129e (diff) | |
| download | pyramid-815471bf42ab88c1524755735fbb84126bb65563.tar.gz pyramid-815471bf42ab88c1524755735fbb84126bb65563.tar.bz2 pyramid-815471bf42ab88c1524755735fbb84126bb65563.zip | |
Fixed doc typo and removed unnecessary whitespaces
| -rw-r--r-- | pyramid/threadlocal.py | 5 |
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'] - |
