aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/py26compat.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-10-18 11:11:59 -0400
committerGitHub <noreply@github.com>2016-10-18 11:11:59 -0400
commit7d984bbdc111fcdfef816265e159a3054dbee132 (patch)
tree3a25ce5765a8c9ae633a3eaeec1ce88f7b382e21 /setuptools/py26compat.py
parentf774a0be095c3873c2881d393605fefa5ca0d0d6 (diff)
parent31bd37c6ac8de9e8c1bacebc2d8e1215df91eb96 (diff)
downloadexternal_python_setuptools-7d984bbdc111fcdfef816265e159a3054dbee132.tar.gz
external_python_setuptools-7d984bbdc111fcdfef816265e159a3054dbee132.tar.bz2
external_python_setuptools-7d984bbdc111fcdfef816265e159a3054dbee132.zip
Merge pull request #820 from stepshal/blank
Fix quantity of blank lines.
Diffstat (limited to 'setuptools/py26compat.py')
-rw-r--r--setuptools/py26compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/py26compat.py b/setuptools/py26compat.py
index 5778cdf1..4d3add8c 100644
--- a/setuptools/py26compat.py
+++ b/setuptools/py26compat.py
@@ -23,9 +23,9 @@ def strip_fragment(url):
if sys.version_info >= (2, 7):
strip_fragment = lambda x: x
-
try:
from importlib import import_module
except ImportError:
+
def import_module(module_name):
return __import__(module_name, fromlist=['__name__'])