/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/bzr/smart/signals.py

  • Committer: Jelmer Vernooij
  • Date: 2020-03-22 01:35:14 UTC
  • mfrom: (7490.7.6 work)
  • mto: This revision was merged to the branch mainline in revision 7499.
  • Revision ID: jelmer@jelmer.uk-20200322013514-7vw1ntwho04rcuj3
merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Signal handling for the smart server code."""
18
18
 
19
 
from __future__ import absolute_import
20
 
 
21
19
import signal
22
20
import weakref
23
21
 
32
30
#       could just use the callable itself as the indexed part, and even in
33
31
#       large cases, we shouldn't have more than 100 or so callbacks
34
32
#       registered.
 
33
 
 
34
 
35
35
def _sighup_handler(signal_number, interrupted_frame):
36
36
    """This is the actual function that is registered for handling SIGHUP.
37
37
 
113
113
        # most exceptions.
114
114
        trace.mutter('Error occurred during unregister_on_hangup:')
115
115
        trace.log_exception_quietly()
116