pep8 fix
This commit is contained in:
@@ -8,6 +8,7 @@ Here you can see the full list of changes between each SQLAlchemy-Utils release.
|
|||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
- Removed compat module, added total_ordering package to Python 2.6 requirements
|
- Removed compat module, added total_ordering package to Python 2.6 requirements
|
||||||
|
- Enhanced render_statement function
|
||||||
|
|
||||||
|
|
||||||
0.17.0 (2013-10-23)
|
0.17.0 (2013-10-23)
|
||||||
|
@@ -1,14 +1,13 @@
|
|||||||
import six
|
import six
|
||||||
|
|
||||||
|
ip_address = None
|
||||||
try:
|
try:
|
||||||
from ipaddress import ip_address
|
from ipaddress import ip_address
|
||||||
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
try:
|
try:
|
||||||
from ipaddr import IPAddress as ip_address
|
from ipaddr import IPAddress as ip_address
|
||||||
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
ip_address = None
|
pass
|
||||||
|
|
||||||
|
|
||||||
from sqlalchemy import types
|
from sqlalchemy import types
|
||||||
|
Reference in New Issue
Block a user