Some assorted fixes for the SFTP backend.
[cumulus.git] / python / cumulus / store / __init__.py
index f32ff9f..6c8c8ee 100644 (file)
@@ -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)