diff options
author | Iwan Aucamp <aucampia@gmail.com> | 2022-07-20 00:27:09 +0200 |
---|---|---|
committer | Iwan Aucamp <aucampia@gmail.com> | 2022-07-20 00:27:09 +0200 |
commit | 6be93b63fd1afb0e680da32d06d7944a7843ff00 (patch) | |
tree | cf27a4cc28cc4e7cfc38bda42b36d4c1399da208 | |
parent | 1740214b591eb0f3e57fc6c6b63da2b29f7ae946 (diff) | |
download | rdflib-6be93b63fd1afb0e680da32d06d7944a7843ff00.tar.gz |
revert: fix: import xml.sax.handler from the right place
This reverts commit 1740214b591eb0f3e57fc6c6b63da2b29f7ae946.
Was working on the wrong branch.
Refs: 1740214b591eb0f3e57fc6c6b63da2b29f7ae946
-rw-r--r-- | CHANGELOG.md | 16 | ||||
-rw-r--r-- | rdflib/plugins/parsers/trix.py | 3 |
2 files changed, 2 insertions, 17 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e7a87d9f..81075f56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -74,22 +74,6 @@ and will be removed for release. <!-- --> <!-- --> -- Fixed import of `xml.sax.handler` in `rdflib.plugins.parsers.trix` so that it - no longer tries to import it from `xml.sax.saxutils`. - [PR #2041](https://github.com/RDFLib/rdflib/pull/2041). - -<!-- --> -<!-- --> -<!-- CHANGE BARRIER: END --> -<!-- --> -<!-- --> - -<!-- --> -<!-- --> -<!-- CHANGE BARRIER: START --> -<!-- --> -<!-- --> - - PLACEHOLDER. Description of changes. Closed [issue #....](https://github.com/RDFLib/rdflib/issues/). diff --git a/rdflib/plugins/parsers/trix.py b/rdflib/plugins/parsers/trix.py index 76ff5745..5529b0fb 100644 --- a/rdflib/plugins/parsers/trix.py +++ b/rdflib/plugins/parsers/trix.py @@ -1,8 +1,9 @@ """ A TriX parser for RDFLib """ -from xml.sax import handler, make_parser +from xml.sax import make_parser from xml.sax.handler import ErrorHandler +from xml.sax.saxutils import handler from rdflib.exceptions import ParserError from rdflib.graph import Graph |