Commit 7f55777e authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[library] Silence assert warning

parent c73b726a
......@@ -147,7 +147,7 @@ class Library(BackendLibrary):
# At this point, `data' can be a dictionary or ``None``
if data is None: # loads the default declaration for an library, self.errors = prototypes.load("library")
assert not self.errors, "\n * %s" % "\n *".join(self.errors)
assert not self.errors, "\n * %s" % "\n *".join(self.errors) # nosec
else: # just assign it
# this runs basic validation, including JSON loading if required, self.errors = schema.validate("library", data)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment