[Python-modules-commits] [python-pyld] 98/276: Fix list term check.

Wolfgang Borgert debacle at moszumanska.debian.org
Wed Oct 8 23:47:58 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 fd593a5274770ac91d6adebd0180ad6d3030def3
Author: Dave Longley <dlongley at digitalbazaar.com>
Date:   Sat Jun 30 21:35:56 2012 -0400

    Fix list term check.
---
 lib/pyld/jsonld.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pyld/jsonld.py b/lib/pyld/jsonld.py
index 62960a6..ec4350a 100644
--- a/lib/pyld/jsonld.py
+++ b/lib/pyld/jsonld.py
@@ -2547,7 +2547,7 @@ class JsonLdProcessor:
                 continue
             # skip @list containers for non- at lists
             if (not is_list and has_container and
-                entry['@container'] == '@list'):
+                entry['@container'] == '@list' and value is not None):
                 continue
             # for @lists, if list_container is set, skip non-list containers
             if (is_list and list_container and not (has_container and

-- 
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