/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 breezy/cethread.py

Support user.signingkey configuration variable in .git/config.

Merged from https://code.launchpad.net/~jelmer/brz/local-git-key/+merge/381000

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
 
17
from __future__ import absolute_import
 
18
 
17
19
import sys
18
20
import threading
19
21
 
 
22
from .sixish import (
 
23
    reraise,
 
24
)
 
25
 
20
26
 
21
27
class CatchingExceptionThread(threading.Thread):
22
28
    """A thread that keeps track of exceptions.
139
145
            if (self.ignored_exceptions is None
140
146
                    or not self.ignored_exceptions(exc_value)):
141
147
                # Raise non ignored exceptions
142
 
                raise exc_value
 
148
                reraise(exc_class, exc_value, exc_tb)
143
149
 
144
150
    def pending_exception(self):
145
151
        """Raise the caught exception.