Commit 3befdaf5 authored by Tres Seaver's avatar Tres Seaver

Extend hardening against 'six' renames to include vendored version.

Forward-port bca6b385 from 2.13 branch.
parent 2d53353e
......@@ -152,7 +152,7 @@ class DebugManager(Item, Implicit):
for m in sys.modules.values():
if m is None:
continue
if m.__name__.startswith('six'):
if 'six.' in m.__name__:
continue
for sym in dir(m):
ob = getattr(m, sym)
......
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