mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
Fix PEP8 blank line formatting errors
This commit is contained in:
parent
ed3917914f
commit
f114ffd10d
@ -14,6 +14,7 @@ url_prefix = ''
|
|||||||
if settings.URL_PREFIX.strip('/'):
|
if settings.URL_PREFIX.strip('/'):
|
||||||
url_prefix = '/{0}'.format(settings.URL_PREFIX.strip('/'))
|
url_prefix = '/{0}'.format(settings.URL_PREFIX.strip('/'))
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Providers
|
# Providers
|
||||||
#
|
#
|
||||||
|
@ -30,6 +30,7 @@ url_prefix = ''
|
|||||||
if settings.URL_PREFIX.strip('/'):
|
if settings.URL_PREFIX.strip('/'):
|
||||||
url_prefix = '/{0}'.format(settings.URL_PREFIX.strip('/'))
|
url_prefix = '/{0}'.format(settings.URL_PREFIX.strip('/'))
|
||||||
|
|
||||||
|
|
||||||
def get_device_by_name_or_pk(name):
|
def get_device_by_name_or_pk(name):
|
||||||
"""
|
"""
|
||||||
Attempt to retrieve a device by either its name or primary key ('{pk}').
|
Attempt to retrieve a device by either its name or primary key ('{pk}').
|
||||||
|
@ -21,6 +21,7 @@ url_prefix = ''
|
|||||||
if settings.URL_PREFIX.strip('/'):
|
if settings.URL_PREFIX.strip('/'):
|
||||||
url_prefix = '/{0}'.format(settings.URL_PREFIX.strip('/'))
|
url_prefix = '/{0}'.format(settings.URL_PREFIX.strip('/'))
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# VRFs
|
# VRFs
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user