![]() Replace the pattern: completion = OcfCompletion([("err", c_int)]) io.callback = completion.callback io.submit() completion.wait() with: completion = Sync(io).submit() Also, remove some redundant imports. Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com> |
||
---|---|---|
.. | ||
config | ||
pyocf | ||
tests | ||
utils | ||
__init__.py | ||
.gitignore | ||
Makefile | ||
pytest.ini |