Edit notifier.notify()
* Remove the unnecessary global statement * Add a docstring Change-Id: Id9920e1e9dc10acd26ad3cef6908c1077d7568c9
This commit is contained in:
parent
b90de80316
commit
0c47016840
@ -24,8 +24,10 @@ __notifier = noop_notifier
|
|||||||
|
|
||||||
|
|
||||||
def notify(info):
|
def notify(info):
|
||||||
global __notifier
|
"""Passes the profiling info to the notifier callable.
|
||||||
|
|
||||||
|
:param info: dictionary with profiling information
|
||||||
|
"""
|
||||||
__notifier(info)
|
__notifier(info)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user