Skip to content

Commit

Permalink
Remove lxml vs libxml2 version check
Browse files Browse the repository at this point in the history
  • Loading branch information
mxamin committed Apr 16, 2024
1 parent 74c2c4f commit 6947079
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lxml.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ static int PyXmlSec_CheckLxmlLibraryVersion(void) {
}

int PyXmlSec_InitLxmlModule(void) {
if (PyXmlSec_CheckLxmlLibraryVersion() < 0) {
PyXmlSec_SetLastError("lxml & xmlsec libxml2 library version mismatch");
return -1;
}
// if (PyXmlSec_CheckLxmlLibraryVersion() < 0) {
// PyXmlSec_SetLastError("lxml & xmlsec libxml2 library version mismatch");
// return -1;
// }

return import_lxml__etree();
}
Expand Down

0 comments on commit 6947079

Please sign in to comment.