No return parameter

main
bashrc 2026-08-01 14:54:08 +01:00
parent 54e831ffb1
commit a2bfae48e6
1 changed files with 2 additions and 2 deletions

View File

@ -2633,7 +2633,7 @@ class JsonLdProcessor(object):
'Invalid JSON-LD syntax; ' +
'language map values must be strings. ' +
str(language_map))
return {}
return []
rval.append({'@value': item, '@language': key.lower()})
return rval
@ -2956,7 +2956,7 @@ class JsonLdProcessor(object):
'Invalid JSON-LD syntax; ' +
'conflicting @index property detected. ' +
str(subject))
return {}
return
subject[property2] = input_[property2]
continue