X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;ds=sidebyside;f=python%2Fcumulus%2Fstore%2F__init__.py;h=7150a1fae5afa7af03e4aa8b13385b68761f32f4;hb=179ae0cb9dc0cdb56217f517bd3dab62b0b3376c;hp=84ca119238b9f6ee0d7e1b87830a51c4caf4211f;hpb=a44f5f73e7b43ff152f8b515a74bb9e0b1b48cc6;p=cumulus.git diff --git a/python/cumulus/store/__init__.py b/python/cumulus/store/__init__.py index 84ca119..7150a1f 100644 --- a/python/cumulus/store/__init__.py +++ b/python/cumulus/store/__init__.py @@ -61,11 +61,14 @@ class Store (object): pass def close(self): - """Tier down the connection explicitly if needed + """Tear down the connection explicitly if needed - Currently needed for sftp to be able to end the program.""" + Currently needed for sftp to be able to end the program.""" - pass + pass + + def __del__(self): + self.close() def open(url): return Store(url)