Merge pull request #6 from tpict/master

Fix urlparse import under Python 3
This commit is contained in:
2017-06-04 11:18:32 -04:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
# -*- coding: utf-8 -*-
from os import environ
from urlparse import urlparse as _urlparse
try:
from urllib.parse import urlparse as _urlparse
except ImportError:
from urlparse import urlparse as _urlparse
def lower_dict(d):
+1 -1
View File
@@ -34,7 +34,7 @@ from setuptools import setup
setup(
name='env',
version='0.1.0',
version='0.1.1',
url='https://github.com/kennethreitz/env',
license='BSD',
author='Kenneth Reitz',