~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugin.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-10-30 14:52:21 UTC
  • mfrom: (3805.2.3 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20081030145221-fog9qrw59bobguy0
(jam) A bit of cleanup for the default entries in the trace log.

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
                    break
206
206
            else:
207
207
                continue
208
 
        if getattr(_mod_plugins, f, None):
 
208
        if f == '__init__':
 
209
            continue # We don't load __init__.py again in the plugin dir
 
210
        elif getattr(_mod_plugins, f, None):
209
211
            trace.mutter('Plugin name %s already loaded', f)
210
212
        else:
211
213
            # trace.mutter('add plugin name %s', f)