Skip to content

Commit

Permalink
Fix LDP-DC logic typo. Fixes #57.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Cossu committed Apr 15, 2018
1 parent 84fa563 commit c6efeab
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 c6efeab

Please sign in to comment.