/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/commands.py

  • Committer: Vincent Ladeuil
  • Date: 2009-05-04 07:54:22 UTC
  • mto: (4326.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4327.
  • Revision ID: v.ladeuil+lp@free.fr-20090504075422-azlo0kpes04412vn
Make --coverage works for threads too.

* bzrlib/commands.py:
(apply_coveraged): Take threads into account too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
lazy_import(globals(), """
36
36
import codecs
37
37
import errno
 
38
import threading
38
39
from warnings import warn
39
40
 
40
41
import bzrlib
682
683
 
683
684
    tracer = trace.Trace(count=1, trace=0)
684
685
    sys.settrace(tracer.globaltrace)
 
686
    threading.settrace(tracer.globaltrace)
685
687
 
686
688
    try:
687
689
        return exception_to_return_code(the_callable, *args, **kwargs)