Source

django-doorkeeper / doorkeeper / utils.py

Diff from to

File doorkeeper/utils.py

 import memcache
 
 class Singleton(type):
+    """
+    Metaclass  for singleton conversion for memcache.Client
+    """
      def __init__(cls, name, bases, dict):
          super(Singleton, cls).__init__(name, bases, dict)
          cls.instance = None