X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=python%2Fcumulus%2Fstore%2F__init__.py;h=6c8c8eec0a884b9a4b151b5b59209aeddad71c5e;hb=ac2119cf623ab1c2ea2a4e46005c2eee94a85ec0;hp=f32ff9fe4f47efc1d9693528b675813b56e88a9a;hpb=65edb87a0b8a578b4a7221478a851d71df21fab0;p=cumulus.git diff --git a/python/cumulus/store/__init__.py b/python/cumulus/store/__init__.py index f32ff9f..6c8c8ee 100644 --- a/python/cumulus/store/__init__.py +++ b/python/cumulus/store/__init__.py @@ -60,5 +60,15 @@ class Store (object): pass + def close(self): + """Tier down the connection explicitly if needed + + Currently needed for sftp to be able to end the program.""" + + pass + + def __del__(self): + self.close() + def open(url): return Store(url)