From 7f55777ead7ed6583e422936e7779c5c2735cea9 Mon Sep 17 00:00:00 2001
From: Samuel Gaist <samuel.gaist@idiap.ch>
Date: Fri, 15 Mar 2019 10:19:07 +0100
Subject: [PATCH] [library] Silence assert warning

---
 beat/core/library.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/beat/core/library.py b/beat/core/library.py
index 3a9b7cc7..b575bd8e 100644
--- a/beat/core/library.py
+++ b/beat/core/library.py
@@ -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.data, 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.data, self.errors = schema.validate("library", data)
-- 
GitLab