Fix PEP8 blank line formatting errors

This commit is contained in:
Pavel Korovin 2016-07-11 03:49:40 +03:00
parent ed3917914f
commit f114ffd10d
3 changed files with 3 additions and 0 deletions

View File

@ -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
# #

View File

@ -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}').

View File

@ -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
# #