]> kaliko git repositories - mpd-sima.git/blobdiff - sima/lib/plugin.py
Some clean-up (pylint audit)
[mpd-sima.git] / sima / lib / plugin.py
index 0e80ae582f865751c8f9b43a39bd5b63d53e311e..1188d4595e2190c47d8e6fbde7823926f49d852e 100644 (file)
@@ -1,6 +1,27 @@
 # -*- coding: utf-8 -*-
-
-class Plugin():
+# Copyright (c) 2013, 2014 Jack Kaliko <kaliko@azylum.org>
+#
+#  This file is part of sima
+#
+#  sima is free software: you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation, either version 3 of the License, or
+#  (at your option) any later version.
+#
+#  sima is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with sima.  If not, see <http://www.gnu.org/licenses/>.
+#
+#
+"""
+Plugin object to derive from
+"""
+
+class Plugin:
     """
     First non-empty line of the docstring is used as description
     Rest of the docstring at your convenience.
@@ -81,6 +102,7 @@ class Plugin():
         pass
 
     def shutdown(self):
+        """Called on application shutdown"""
         pass