~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugin.py

  • Committer: Robert Collins
  • Date: 2007-04-20 04:36:09 UTC
  • mto: This revision was merged to the branch mainline in revision 2441.
  • Revision ID: robertc@robertcollins.net-20070420043609-tuwv7tm97mmhh82p
Add plugins as a help index.

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
            warning('Unable to load plugin %r from %r'
268
268
                    % (name, zip_name))
269
269
            log_exception_quietly()
 
270
 
 
271
 
 
272
class PluginsHelpIndex(object):
 
273
    """A help index that returns help topics for plugins."""
 
274
 
 
275
    def __init__(self):
 
276
        self.prefix = 'plugins/'
 
277
 
 
278
    def get_topics(self, topic):
 
279
        return []