Apply fixes to s3:// URL parsing under Python 2.6.
[cumulus.git] / python / cumulus / store / __init__.py
index f32ff9f..7150a1f 100644 (file)
@@ -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)