Merge pull request #32201 from aafeijoo-suse/test-minor-fixes

test: minor fixes
This commit is contained in:
Frantisek Sumsal
2024-04-10 16:54:37 +02:00
committed by GitHub
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@
#include <stdbool.h>
#include <sys/prctl.h>
#include <unistd.h>
#include "sd-daemon.h"
+6 -1
View File
@@ -3,7 +3,12 @@
import os
import sys
import lxml.etree as tree
try:
import lxml.etree as tree
except ImportError as e:
print(str(e), file=sys.stderr)
sys.exit(77)
_parser = tree.XMLParser(resolve_entities=False)
tree.set_default_parser(_parser)