/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: Martin Pool
  • Date: 2008-06-11 02:36:40 UTC
  • mfrom: (3490 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3492.
  • Revision ID: mbp@sourcefrog.net-20080611023640-db0lqd75yueksdw7
Merge news

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
from bzrlib import (
43
43
    config,
 
44
    debug,
44
45
    osutils,
 
46
    trace,
45
47
    )
46
48
from bzrlib import plugins as _mod_plugins
47
49
""")
220
222
            else:
221
223
                warning('Unable to load plugin %r from %r' % (name, d))
222
224
            log_exception_quietly()
 
225
            if 'error' in debug.debug_flags:
 
226
                trace.print_exception(sys.exc_info(), sys.stderr)
223
227
 
224
228
 
225
229
@deprecated_function(one_three)
299
303
            warning('Unable to load plugin %r from %r'
300
304
                    % (name, zip_name))
301
305
            log_exception_quietly()
 
306
            if 'error' in debug.debug_flags:
 
307
                trace.print_exception(sys.exc_info(), sys.stderr)
302
308
 
303
309
 
304
310
def plugins():