aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs/base.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-31 11:47:33 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-31 11:47:33 -0500
commit0d31c5a14719ed8f18b1554b3975690aea81c719 (patch)
tree1989d746e012aa911e53c32f26544048940ce53c /libbe/storage/vcs/base.py
parent7452e54d3e08c8c40a52209a19e1436622987d36 (diff)
downloadbugseverywhere-0d31c5a14719ed8f18b1554b3975690aea81c719.tar.gz
Track connection status to allow multiple Storage.disconnect() calls.
This makes cleaning up UIs easier: just call disconnect() :p.
Diffstat (limited to 'libbe/storage/vcs/base.py')
-rw-r--r--libbe/storage/vcs/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/storage/vcs/base.py b/libbe/storage/vcs/base.py
index b47ed2f..99f43f3 100644
--- a/libbe/storage/vcs/base.py
+++ b/libbe/storage/vcs/base.py
@@ -683,7 +683,7 @@ os.listdir(self.get_path("bugs")):
self._cached_path_id.connect()
self.check_storage_version()
- def disconnect(self):
+ def _disconnect(self):
self._cached_path_id.disconnect()
def _add_path(self, path, directory=False):