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

pep8

parent 6338cbda
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,6 @@ from jnpr.junos import exception as EzErrors
from lxml import etree
import netifaces
import requests
from requests.auth import HTTPBasicAuth
CONFIG_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
......
......@@ -40,6 +40,7 @@ def log_entry_and_exit(f):
logger.debug(f'<<< {f.__name__}{args}')
return _w
class InventoryTaskError(Exception):
pass
......@@ -263,7 +264,8 @@ def update_geant_lambdas(self):
rp.execute()
@app.task(base=InventoryTask, bind=True, name='update_neteng_managed_device_list')
@app.task(base=InventoryTask, bind=True,
name='update_neteng_managed_device_list')
@log_entry_and_exit
def update_neteng_managed_device_list(self):
self.update_state(
......
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