Add a FIXME

This commit is contained in:
Chris Jones 2009-12-18 09:24:23 +00:00
parent fe22a9cf47
commit 48e8637ca5
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ class PluginRegistry(borg.Borg):
self.instances = {} self.instances = {}
if not self.path: if not self.path:
(head, tail) = os.path.split(borg.__file__) (head, tail) = os.path.split(borg.__file__)
# FIXME: self.path should really be a list so we can have something
# in the users home directory
self.path = os.path.join(head, 'plugins') self.path = os.path.join(head, 'plugins')
dbg('PluginRegistry::prepare_attributes: Plugin path: %s' % dbg('PluginRegistry::prepare_attributes: Plugin path: %s' %
self.path) self.path)