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

pep8

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