Skip to content

Commit

Permalink
Merge pull request #58 from scossu/fix_57
Browse files Browse the repository at this point in the history
Fix LDP-DC logic typo. Fixes #57.
  • Loading branch information
scossu authored Apr 15, 2018
2 parents 84fa563 + c6efeab commit 9e85f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lakesuperior/model/ldpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down

0 comments on commit 9e85f6e

Please sign in to comment.