Skip to content

Commit

Permalink
[ignore] black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
akinross committed Dec 16, 2024
1 parent c4b1f06 commit 8b4c94d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/module_utils/ndi.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ def is_json(self, myjson):
def is_xml(self, myxml):
try:
from lxml import etree

etree.parse(myxml)
except ImportError:
self.nd.fail_json(msg="Cannot use lxml etree because lxml module is not available")
Expand Down

0 comments on commit 8b4c94d

Please sign in to comment.