From: Ovidiu Predescu Date: Thu, 14 Jul 2011 22:52:35 +0000 (-0700) Subject: Fix misspelling. X-Git-Tag: v2.1.0~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99b3a9a764011ed8bdb9f71c791aac738de6e14c;p=thirdparty%2Ftornado.git Fix misspelling. --- diff --git a/tornado/stack_context.py b/tornado/stack_context.py index 58964d5e5..d64e3cfd3 100644 --- a/tornado/stack_context.py +++ b/tornado/stack_context.py @@ -82,7 +82,7 @@ class StackContext(object): def __enter__(self): self.old_contexts = _state.contexts # _state.contexts is a tuple of (class, arg) pairs - _state.contexts = (self.old_contexts + + _state.contexts = (self.old_contexts + ((StackContext, self.context_factory),)) try: self.context = self.context_factory() @@ -143,7 +143,7 @@ class _StackContextWrapper(functools.partial): pass def wrap(fn): - '''Returns a callable object that will resore the current StackContext + '''Returns a callable object that will restore the current StackContext when executed. Use this whenever saving a callback to be executed later in a