making lint happy
This commit is contained in:
parent
bf47f87c21
commit
07a9c56fb8
|
@ -31,7 +31,6 @@ from lemur.dns_providers import cli as cli_dns_providers
|
||||||
from lemur.notifications import cli as cli_notification
|
from lemur.notifications import cli as cli_notification
|
||||||
from lemur.endpoints import cli as cli_endpoints
|
from lemur.endpoints import cli as cli_endpoints
|
||||||
|
|
||||||
|
|
||||||
if current_app:
|
if current_app:
|
||||||
flask_app = current_app
|
flask_app = current_app
|
||||||
else:
|
else:
|
||||||
|
@ -330,7 +329,6 @@ def sync_all_sources():
|
||||||
current_app.logger.debug(log_data)
|
current_app.logger.debug(log_data)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
sources = validate_sources("all")
|
sources = validate_sources("all")
|
||||||
for source in sources:
|
for source in sources:
|
||||||
log_data["source"] = source.label
|
log_data["source"] = source.label
|
||||||
|
@ -370,7 +368,6 @@ def sync_source(source):
|
||||||
current_app.logger.debug(log_data)
|
current_app.logger.debug(log_data)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
current_app.logger.debug(log_data)
|
current_app.logger.debug(log_data)
|
||||||
|
|
||||||
if task_id and is_task_active(function, task_id, (source,)):
|
if task_id and is_task_active(function, task_id, (source,)):
|
||||||
|
|
Loading…
Reference in New Issue