From 5cc685c21df85034fd0128d93e313c30e1fb525b Mon Sep 17 00:00:00 2001 From: Konsta Vesterinen Date: Thu, 24 Oct 2013 08:46:56 +0300 Subject: [PATCH] pep8 fix --- CHANGES.rst | 1 + sqlalchemy_utils/types/ip_address.py | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index a06e85d..3ba6aa5 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -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 +- Enhanced render_statement function 0.17.0 (2013-10-23) diff --git a/sqlalchemy_utils/types/ip_address.py b/sqlalchemy_utils/types/ip_address.py index 237ada2..d936e2f 100644 --- a/sqlalchemy_utils/types/ip_address.py +++ b/sqlalchemy_utils/types/ip_address.py @@ -1,14 +1,13 @@ import six +ip_address = None try: from ipaddress import ip_address - except ImportError: try: from ipaddr import IPAddress as ip_address - except ImportError: - ip_address = None + pass from sqlalchemy import types