From f114ffd10d6eae585e084bfd924e870bdeb929a8 Mon Sep 17 00:00:00 2001 From: Pavel Korovin Date: Mon, 11 Jul 2016 03:49:40 +0300 Subject: [PATCH] Fix PEP8 blank line formatting errors --- netbox/circuits/forms.py | 1 + netbox/dcim/forms.py | 1 + netbox/ipam/forms.py | 1 + 3 files changed, 3 insertions(+) diff --git a/netbox/circuits/forms.py b/netbox/circuits/forms.py index ff5f6e2b2..6939e5914 100644 --- a/netbox/circuits/forms.py +++ b/netbox/circuits/forms.py @@ -14,6 +14,7 @@ url_prefix = '' if settings.URL_PREFIX.strip('/'): url_prefix = '/{0}'.format(settings.URL_PREFIX.strip('/')) + # # Providers # diff --git a/netbox/dcim/forms.py b/netbox/dcim/forms.py index 4670a4ac2..2089a748f 100644 --- a/netbox/dcim/forms.py +++ b/netbox/dcim/forms.py @@ -30,6 +30,7 @@ url_prefix = '' if settings.URL_PREFIX.strip('/'): url_prefix = '/{0}'.format(settings.URL_PREFIX.strip('/')) + def get_device_by_name_or_pk(name): """ Attempt to retrieve a device by either its name or primary key ('{pk}'). diff --git a/netbox/ipam/forms.py b/netbox/ipam/forms.py index 539f586e8..a46c9d72a 100644 --- a/netbox/ipam/forms.py +++ b/netbox/ipam/forms.py @@ -21,6 +21,7 @@ url_prefix = '' if settings.URL_PREFIX.strip('/'): url_prefix = '/{0}'.format(settings.URL_PREFIX.strip('/')) + # # VRFs #