diff options
author | zhangziwen <zzhiwen@cn.ibm.com> | 2020-08-23 10:26:47 +0800 |
---|---|---|
committer | zhangziwen <zzhiwen@cn.ibm.com> | 2020-08-23 10:27:26 +0800 |
commit | efb338e00b7c3e9a53ffa0138eefa2440f4f30f7 (patch) | |
tree | bebd4a8ab8b2c14e535b6f86b03e9e8cb84d2d37 /stevedore/hook.py | |
parent | e9204ee7b702f67c4de1c777db9482b065126407 (diff) | |
download | stevedore-efb338e00b7c3e9a53ffa0138eefa2440f4f30f7.tar.gz |
Fix the bug 1892610. There're some syntax errors in the comment of stevedore code.3.2.1
There is a syntax error in the comment of stevedore code.
For example, in the HookManager class:
:param on_load_failure_callback: Callback function that will be called when
a entrypoint can not be loaded.
Here should not be `a entrypoint`, just `an entrypoint` instead.
Fixes: bug #1892610
Change-Id: Ic2aaf5f467bcecaec6adff1ead8e159ae749ac50
Diffstat (limited to 'stevedore/hook.py')
-rw-r--r-- | stevedore/hook.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stevedore/hook.py b/stevedore/hook.py index 4df2b0f..4225db3 100644 --- a/stevedore/hook.py +++ b/stevedore/hook.py @@ -32,7 +32,7 @@ class HookManager(NamedExtensionManager): is True. :type invoke_kwds: dict :param on_load_failure_callback: Callback function that will be called when - a entrypoint can not be loaded. The arguments that will be provided + an entrypoint can not be loaded. The arguments that will be provided when this is called (when an entrypoint fails to load) are (manager, entrypoint, exception) :type on_load_failure_callback: function |