Skip to content

Commit 3b414e7

Browse files
committed
replace variable shadowing with more meaningful names
1 parent 1b1f58f commit 3b414e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

schema_salad/jsonld_context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ def makerdf(workflow, wf, ctx, graph=None):
220220
g.parse(data=json.dumps(wf), format='json-ld', location=workflow)
221221

222222
# Bug in json-ld loader causes @id fields to be added to the graph
223-
for s, p, o in g.triples((None, URIRef("@id"), None)):
224-
g.remove((s, p, o))
223+
for sub, pred, obj in g.triples((None, URIRef("@id"), None)):
224+
g.remove((sub, pred, obj))
225225

226226
for k2, v2 in prefixes.iteritems():
227227
g.namespace_manager.bind(k2, v2)

0 commit comments

Comments
 (0)