From 6508448570772428beeada2bd7c2c4b54e706d9d Mon Sep 17 00:00:00 2001
From: Samuel Gaist <samuel.gaist@idiap.ch>
Date: Mon, 28 May 2018 16:02:13 +0200
Subject: [PATCH] [library] Improved documentation

And fixed unused imports
---
 beat/backend/python/library.py | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/beat/backend/python/library.py b/beat/backend/python/library.py
index 8eac3ea..870f9ff 100644
--- a/beat/backend/python/library.py
+++ b/beat/backend/python/library.py
@@ -26,17 +26,22 @@
 ###############################################################################
 
 
-"""Validation for libraries"""
+"""
+=======
+library
+=======
+
+Validation for libraries
+"""
 
 import os
-import six
 import simplejson
 
 from . import loader
 from . import utils
 
 
-#----------------------------------------------------------
+# ----------------------------------------------------------
 
 
 class Storage(utils.CodeStorage):
@@ -66,7 +71,7 @@ class Storage(utils.CodeStorage):
         super(Storage, self).__init__(path, language)
 
 
-#----------------------------------------------------------
+# ----------------------------------------------------------
 
 
 class Library(object):
@@ -201,8 +206,8 @@ class Library(object):
 
     @property
     def name(self):
-        """Returns the name of this object
-        """
+        """Returns the name of this object"""
+
         return self._name or '__unnamed_library__'
 
 
-- 
GitLab