X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=python%2Fcumulus%2Fstore%2F__init__.py;h=7150a1fae5afa7af03e4aa8b13385b68761f32f4;hb=179ae0cb9dc0cdb56217f517bd3dab62b0b3376c;hp=f32ff9fe4f47efc1d9693528b675813b56e88a9a;hpb=65edb87a0b8a578b4a7221478a851d71df21fab0;p=cumulus.git diff --git a/python/cumulus/store/__init__.py b/python/cumulus/store/__init__.py index f32ff9f..7150a1f 100644 --- a/python/cumulus/store/__init__.py +++ b/python/cumulus/store/__init__.py @@ -60,5 +60,15 @@ class Store (object): pass + def close(self): + """Tear 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)