[Python-modules-commits] [python-pyld] 270/276: Remove 'usages' from allowed keys.
Wolfgang Borgert
debacle at moszumanska.debian.org
Wed Oct 8 23:48:19 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 513663fe0b2d91f2f0c765fe421e83f53d5a91b2
Author: Dave Longley <dlongley at digitalbazaar.com>
Date: Mon Sep 15 16:58:49 2014 -0400
Remove 'usages' from allowed keys.
---
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 fc40099..d47fc53 100644
--- a/lib/pyld/jsonld.py
+++ b/lib/pyld/jsonld.py
@@ -2341,7 +2341,7 @@ class JsonLdProcessor:
# 1. Be referenced only once.
# 2. Have an array for rdf:first that has 1 item.
# 3. Have an array for rdf:rest that has 1 item
- # 4. Have no keys other than: @id, usages, rdf:first, rdf:rest
+ # 4. Have no keys other than: @id, rdf:first, rdf:rest
# and, optionally, @type where the value is rdf:List.
node_key_count = len(node.keys())
while(property == RDF_REST 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