diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-12-07 23:00:29 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-12-07 23:00:29 -0600 |
commit | 334cc509f08b125f9db76914efb9c7b2adfffeba (patch) | |
tree | 5ed8b17bf2c4e71191b10bf212275ae7af2255c8 /ncserver/base/modman.py | |
parent | 85db708181d28fa73fe03409728ba41041b8d227 (diff) | |
download | netconfapk-334cc509f08b125f9db76914efb9c7b2adfffeba.tar.gz netconfapk-334cc509f08b125f9db76914efb9c7b2adfffeba.tar.bz2 netconfapk-334cc509f08b125f9db76914efb9c7b2adfffeba.tar.xz netconfapk-334cc509f08b125f9db76914efb9c7b2adfffeba.zip |
Fix QName import stuff
Diffstat (limited to 'ncserver/base/modman.py')
-rw-r--r-- | ncserver/base/modman.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ncserver/base/modman.py b/ncserver/base/modman.py index 5033afa..742a890 100644 --- a/ncserver/base/modman.py +++ b/ncserver/base/modman.py @@ -13,7 +13,7 @@ SPDX-License-Identifier: NCSA import hashlib from logging import getLogger -from lxml import etree +from lxml.etree import QName # pylint: disable=E0611 from netconf import error, nsmap_add, util from taillight import Signal @@ -25,9 +25,6 @@ MODULE_SET_CHANGE_SIGNAL = Signal(('base/ModuleManager', 'module_set_changed')) yang-library-change notification should be fired, when this is supported.""" -QName = etree.QName # pylint: disable=I1101 - - def _import_compatible(existing, improps): """Determine if an imported module is compatible with the existing module that has the same name/revision. |