Commit a41e16aa authored by Jason Madden's avatar Jason Madden

whitespace

parent ede2621d
......@@ -50,6 +50,7 @@ if _get_ident() not in __threading__._active and len(__threading__._active) == 1
# Avoid printing an error on shutdown trying to remove the thread entry
# we just replaced if we're not fully monkey patched in
_MAIN_THREAD = __threading__._get_ident() if hasattr(__threading__, '_get_ident') else __threading__.get_ident()
class _active(dict):
def __delitem__(self, k):
if k == _MAIN_THREAD and k not in self:
......@@ -59,7 +60,6 @@ if _get_ident() not in __threading__._active and len(__threading__._active) == 1
__threading__._active = _active(__threading__._active)
import sys
if sys.version_info[:2] >= (3, 4):
# XXX: Issue 18808 breaks us on Python 3.4.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment