Commit bca6b385 authored by Tres Seaver's avatar Tres Seaver

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

parent baaa2406
...@@ -165,7 +165,7 @@ class DebugManager(Item, Implicit): ...@@ -165,7 +165,7 @@ class DebugManager(Item, Implicit):
for m in sys.modules.values(): for m in sys.modules.values():
if m is None: if m is None:
continue continue
if m.__name__.startswith('six'): if 'six.' in m.__name__:
continue continue
for sym in dir(m): for sym in dir(m):
ob = getattr(m, sym) 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