Loading kodo_sso/util/load_settings.py +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ def import_from(context, items): if value[0] in '[{"': value = json.loads(value) except (IndexError, ValueError) as exc: raise ValueError("""JSON decode error while decoding {}="{}": {}""" raise ValueError("""JSON decode error while decoding {}={!r}: {}""" .format(name, value, exc)) if cur and add: if __debug__: Loading Loading
kodo_sso/util/load_settings.py +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ def import_from(context, items): if value[0] in '[{"': value = json.loads(value) except (IndexError, ValueError) as exc: raise ValueError("""JSON decode error while decoding {}="{}": {}""" raise ValueError("""JSON decode error while decoding {}={!r}: {}""" .format(name, value, exc)) if cur and add: if __debug__: Loading