mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #34075 from jfindlay/import_xml
modules.inspectlib.kiwiproc: import gate lxml
This commit is contained in:
commit
9da592a297
1 changed files with 10 additions and 1 deletions
|
@ -14,15 +14,24 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Import python libs
|
||||
from __future__ import absolute_import
|
||||
import os
|
||||
import grp
|
||||
import pwd
|
||||
from lxml import etree
|
||||
from xml.dom import minidom
|
||||
import platform
|
||||
import socket
|
||||
|
||||
# Import salt libs
|
||||
from salt.modules.inspectlib.exceptions import InspectorKiwiProcessorException
|
||||
|
||||
# Import third party libs
|
||||
try:
|
||||
from lxml import etree
|
||||
except ImportError:
|
||||
from salt._compat import ElementTree as etree
|
||||
|
||||
|
||||
class KiwiExporter(object):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue