aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-01-23 10:05:00 -0500
committerW. Trevor King <wking@drexel.edu>2010-01-23 10:05:00 -0500
commitc8afe57fdc1111bdf5f053c0f2a9f4c38599c6de (patch)
tree97d2315e302c019bd273a0412cc181c37e9402d5 /libbe
parent331a641325daf3b067ecde2a51b5308c9287444e (diff)
downloadbugseverywhere-c8afe57fdc1111bdf5f053c0f2a9f4c38599c6de.tar.gz
Init should tell the UI about its connected storage and bugdir.
Diffstat (limited to 'libbe')
-rw-r--r--libbe/command/init.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbe/command/init.py b/libbe/command/init.py
index 4821000..7b83645 100644
--- a/libbe/command/init.py
+++ b/libbe/command/init.py
@@ -93,7 +93,9 @@ class Init (libbe.command.Command):
pass
storage.init()
storage.connect()
+ self.ui.storage_callbacks.set_storage(storage)
bd = libbe.bugdir.BugDir(storage, from_storage=False)
+ self.ui.storage_callbacks.set_bugdir(bd)
if bd.storage.name is not 'None':
print >> self.stdout, \
'Using %s for revision control.' % storage.name