diff --git a/xonsh/proc.py b/xonsh/proc.py index d792506..98e21f6 100644 --- a/xonsh/proc.py +++ b/xonsh/proc.py @@ -1004,7 +1004,7 @@ def register(self, handle): that this method can be used in a with-statement. """ if handle is self: - # prevent weird recurssion errors + # prevent weird recursion errors return self self.registry[threading.get_ident()] = handle return self