mirror of https://gitlab.com/bashrc2/epicyon
No return parameter
parent
54e831ffb1
commit
a2bfae48e6
|
|
@ -2633,7 +2633,7 @@ class JsonLdProcessor(object):
|
||||||
'Invalid JSON-LD syntax; ' +
|
'Invalid JSON-LD syntax; ' +
|
||||||
'language map values must be strings. ' +
|
'language map values must be strings. ' +
|
||||||
str(language_map))
|
str(language_map))
|
||||||
return {}
|
return []
|
||||||
rval.append({'@value': item, '@language': key.lower()})
|
rval.append({'@value': item, '@language': key.lower()})
|
||||||
return rval
|
return rval
|
||||||
|
|
||||||
|
|
@ -2956,7 +2956,7 @@ class JsonLdProcessor(object):
|
||||||
'Invalid JSON-LD syntax; ' +
|
'Invalid JSON-LD syntax; ' +
|
||||||
'conflicting @index property detected. ' +
|
'conflicting @index property detected. ' +
|
||||||
str(subject))
|
str(subject))
|
||||||
return {}
|
return
|
||||||
subject[property2] = input_[property2]
|
subject[property2] = input_[property2]
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue