Have BaseBackend inherit from ArgBasedSingleton
authorVangelis Koukis <vkoukis@grnet.gr>
Tue, 24 Jul 2012 15:58:30 +0000 (18:58 +0300)
committerVangelis Koukis <vkoukis@grnet.gr>
Tue, 24 Jul 2012 16:00:46 +0000 (19:00 +0300)
commitd2869078476a590d2f875b45801fceee37234344
tree20954f04457071645979021f1423489607a72849
parent81ab9de96986190b0f797dd5855007849d1a0b8c
Have BaseBackend inherit from ArgBasedSingleton

Have the base pithos+ backend inherit from
synnefo.lib.singleton.ArgBasedSingleton.

This makes repeated attempts to re-instantiate any pithos+ backend with
the same arguments reuse the pre-existing backend object.
snf-pithos-backend/pithos/backends/base.py
snf-pithos-backend/setup.py