[Python-modules-commits] [python-pyld] 151/276: Ensure expanded frame is properly traversed for @list.

Wolfgang Borgert debacle at moszumanska.debian.org
Wed Oct 8 23:48:04 UTC 2014


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to branch master
in repository python-pyld.

commit 0a8a5906b9a0f866116d9481cb55d55dc72b2bce
Author: Dave Longley <dlongley at digitalbazaar.com>
Date:   Fri Aug 2 16:15:40 2013 -0400

    Ensure expanded frame is properly traversed for @list.
---
 lib/pyld/jsonld.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/pyld/jsonld.py b/lib/pyld/jsonld.py
index 6545f0e..9874443 100644
--- a/lib/pyld/jsonld.py
+++ b/lib/pyld/jsonld.py
@@ -2710,7 +2710,8 @@ class JsonLdProcessor:
                                 # recurse into subject reference
                                 if _is_subject_reference(o):
                                     self._match_frame(
-                                        state, [o['@id']], frame[prop],
+                                        state, [o['@id']],
+                                        frame[prop][0]['@list'],
                                         list_, '@list')
                                 # include other values automatically
                                 else:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pyld.git



More information about the Python-modules-commits mailing list