Remove python-2.6 StringIO.StringIO fallback.
[portage.git] / pym / portage / __init__.py
index 38da8a0b23b66212be26105b4d0c47ec0b164ffd..5411ec9216883fa3692cbdc1b8601f3e5f3d0bf4 100644 (file)
@@ -22,14 +22,6 @@ try:
        except ImportError:
                from commands import getstatusoutput as subprocess_getstatusoutput
 
-       try:
-               from io import StringIO
-       except ImportError:
-               # Needed for python-2.6 with USE=build since
-               # io imports threading which imports thread
-               # which is unavailable.
-               from StringIO import StringIO
-
        import platform
 
        # Temporarily delete these imports, to ensure that only the