/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/plugin.py

  • Committer: Robert Collins
  • Date: 2007-08-29 01:50:37 UTC
  • mto: This revision was merged to the branch mainline in revision 2764.
  • Revision ID: robertc@robertcollins.net-20070829015037-5ol4iw1qje4ajdga
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
@deprecated_function(zero_ninetyone)
65
65
def all_plugins():
66
66
    """Return a dictionary of the plugins."""
67
 
    result = {}
68
 
    for name, plugin in plugins().items():
69
 
        result[name] = plugin.module
70
 
    return result
 
67
    return dict((name, plugin.module) for name, plugin in plugins().items())
71
68
 
72
69
 
73
70
def disable_plugins():