Bug 2215 fixed
[osm/MON.git] / plugins / OpenStack / singleton.py
diff --git a/plugins/OpenStack/singleton.py b/plugins/OpenStack/singleton.py
deleted file mode 100644 (file)
index 2edc20b..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-from __future__ import unicode_literals
-
-
-class Singleton(object):
-    """Simple singleton class"""
-
-    def __init__(self, decorated):
-        self._decorated = decorated
-
-    def instance(self):
-        """Return singleton instance"""
-        try:
-            return self._instance
-        except AttributeError:
-            self._instance = self._decorated()
-            return self._instance