~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Robert Collins
  • Date: 2005-11-29 23:20:31 UTC
  • Revision ID: robertc@robertcollins.net-20051129232031-916cdaefe3a3c19b
    * bzrlib.plugin.all_plugins has been changed from an attribute to a 
      query method. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1755
1755
    def run(self):
1756
1756
        import bzrlib.plugin
1757
1757
        from inspect import getdoc
1758
 
        for plugin in bzrlib.plugin.all_plugins:
 
1758
        for name, plugin in bzrlib.plugin.all_plugins().items():
1759
1759
            if hasattr(plugin, '__path__'):
1760
1760
                print plugin.__path__[0]
1761
1761
            elif hasattr(plugin, '__file__'):