Edit notifier.notify()

* Remove the unnecessary global statement
* Add a docstring

Change-Id: Id9920e1e9dc10acd26ad3cef6908c1077d7568c9
This commit is contained in:
Mikhail Dubov 2014-06-18 12:59:13 +04:00
parent b90de80316
commit 0c47016840

View File

@ -24,8 +24,10 @@ __notifier = noop_notifier
def notify(info):
global __notifier
"""Passes the profiling info to the notifier callable.
:param info: dictionary with profiling information
"""
__notifier(info)