Commit 07199bdc authored by Jason R. Coombs's avatar Jason R. Coombs

Always use Python 3 filter in pkg_resources

parent c1120314
......@@ -37,6 +37,7 @@ import plistlib
import email.parser
import tempfile
import textwrap
import itertools
from pkgutil import get_importer
try:
......@@ -53,6 +54,7 @@ if PY3:
if PY2:
from urlparse import urlparse, urlunparse
filter = itertools.ifilter
if PY3:
string_types = str,
......
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