Skip to content
Snippets Groups Projects
Commit c25e497f authored by Erik Reid's avatar Erik Reid
Browse files

pep8

parent b1079081
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ import json
import logging
import re
from flask import Blueprint, Response, current_app, request, jsonify
from flask import Blueprint, Response, current_app, request
from lxml import etree
from inventory_provider import juniper
......@@ -628,7 +628,7 @@ def gws_direct():
:return:
"""
cache_key = f'classifier-cache:gws-direct'
cache_key = 'classifier-cache:gws-direct'
r = common.get_current_redis()
result = r.get(cache_key)
......@@ -641,8 +641,6 @@ def gws_direct():
for nren_isp in config_params['gws-direct']:
for host in nren_isp['hosts']:
for ifc in host['interfaces']:
yield {
'nren': nren_isp['nren'],
'isp': nren_isp['isp'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment