From c6efeab34abaa881c58da098d6faac2e355972b8 Mon Sep 17 00:00:00 2001 From: Stefano Cossu Date: Sun, 15 Apr 2018 08:44:48 -0500 Subject: [PATCH] Fix LDP-DC logic typo. Fixes #57. --- lakesuperior/model/ldpr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lakesuperior/model/ldpr.py b/lakesuperior/model/ldpr.py index 305c956..84672af 100644 --- a/lakesuperior/model/ldpr.py +++ b/lakesuperior/model/ldpr.py @@ -881,7 +881,7 @@ def _add_ldp_dc_ic_rel(self, cont_rsrc): from lakesuperior.model.ldp_factory import LdpFactory s = cont_rsrc.metadata.value(cont_rsrc.uri, self.MBR_RSRC_URI) - p = cont_rsrc.metadata.value(cont_rsrc_uri, self.MBR_REL_URI) + p = cont_rsrc.metadata.value(cont_rsrc.uri, self.MBR_REL_URI) if cont_rsrc.metadata[RDF.type: nsc['ldp'].DirectContainer]: logger.info('Parent is a direct container.')