diff options
Diffstat (limited to 'setuptools/py26compat.py')
| -rw-r--r-- | setuptools/py26compat.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/py26compat.py b/setuptools/py26compat.py index 40cbb88e..7c60c90e 100644 --- a/setuptools/py26compat.py +++ b/setuptools/py26compat.py @@ -9,6 +9,7 @@ try: except ImportError: from urllib import splittag + def strip_fragment(url): """ In `Python 8280 <http://bugs.python.org/issue8280>`_, Python 2.7 and @@ -18,5 +19,5 @@ def strip_fragment(url): url, fragment = splittag(url) return url -if sys.version_info >= (2,7): +if sys.version_info >= (2, 7): strip_fragment = lambda x: x |
