~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugin.py

first cut at merge from integration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
    return result
67
67
 
68
68
 
69
 
def disable_plugins():
70
 
    """Disable loading plugins.
71
 
 
72
 
    Future calls to load_plugins() will be ignored.
73
 
    """
74
 
    # TODO: jam 20060131 This should probably also disable
75
 
    #       load_from_dirs()
76
 
    global _loaded
77
 
    _loaded = True
78
 
 
79
 
 
80
69
def load_plugins():
81
70
    """Load bzrlib plugins.
82
71