From 736962192220fdff60ed434654ecf561183806c5 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 30 Nov 2020 17:06:53 -0600 Subject: ietf-interfaces: PEP 8 fixes --- ncserver/module/interfaces.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ncserver/module/interfaces.py b/ncserver/module/interfaces.py index 16a90cd..710ec5c 100644 --- a/ncserver/module/interfaces.py +++ b/ncserver/module/interfaces.py @@ -95,11 +95,12 @@ def _add_iface_contents(container, ifaces): type_num = type_num.strip() if type_num in types.keys(): iana_xmlns = "urn:ietf:params:xml:ns:yang:iana-if-type" - iface.append(util.leaf_elm('if:type', 'ianaift:'+types[type_num], - nsmap={'ianaift': iana_xmlns})) + iface.append(util.leaf_elm('if:type', + 'ianaift:'+types[type_num], + nsmap={'ianaift': iana_xmlns})) else: LOGGER.warning(_('unknown Linux hwtype for %s: %s'), - ifname.name, type_num) + ifname.name, type_num) def running(node): -- cgit v1.2.3-70-g09d2