Whitespace normalization.
This commit is contained in:
parent
5e2ed818b7
commit
d1b108b953
|
@ -60,7 +60,7 @@ _trace_hook = None
|
||||||
def setprofile(func):
|
def setprofile(func):
|
||||||
global _profile_hook
|
global _profile_hook
|
||||||
_profile_hook = func
|
_profile_hook = func
|
||||||
|
|
||||||
def settrace(func):
|
def settrace(func):
|
||||||
global _trace_hook
|
global _trace_hook
|
||||||
_trace_hook = func
|
_trace_hook = func
|
||||||
|
@ -427,7 +427,7 @@ class Thread(_Verbose):
|
||||||
if _profile_hook:
|
if _profile_hook:
|
||||||
self._note("%s.__bootstrap(): registering profile hook", self)
|
self._note("%s.__bootstrap(): registering profile hook", self)
|
||||||
_sys.setprofile(_profile_hook)
|
_sys.setprofile(_profile_hook)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.run()
|
self.run()
|
||||||
except SystemExit:
|
except SystemExit:
|
||||||
|
|
Loading…
Reference in New Issue