diff options
author | Natanael Arndt <arndtn@gmail.com> | 2021-03-05 17:22:55 +0100 |
---|---|---|
committer | Natanael Arndt <arndtn@gmail.com> | 2021-03-05 17:22:55 +0100 |
commit | eb5e025177ad36bd0cd7ac6a794cbc42943826f1 (patch) | |
tree | 46659d70f117595223d0e4bbbdf05b3777126f47 | |
parent | 8086068eb55ee5cf0504c7397ccafcc4779f4bc4 (diff) | |
download | rdflib-eb5e025177ad36bd0cd7ac6a794cbc42943826f1.tar.gz |
correctly delete default triple context info
-rw-r--r-- | rdflib/plugins/stores/memory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdflib/plugins/stores/memory.py b/rdflib/plugins/stores/memory.py index df9e64e4..404edfeb 100644 --- a/rdflib/plugins/stores/memory.py +++ b/rdflib/plugins/stores/memory.py @@ -477,7 +477,7 @@ class Memory(Store): self.__defaultContexts = triple_context # if the context info is the same as default, no need to store it if triple_context == self.__defaultContexts: - del triple_context + del self.__tripleContexts[triple] def __get_context_for_triple(self, triple, skipQuoted=False): """return a list of contexts (str) for the triple, skipping |