From 3e8407d9cf174a7512a7da8a0504c60d4a5e4d96 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Fri, 11 Dec 2020 13:23:20 -0700 Subject: [PATCH] docs: assign multicall to "m" in code example This example snippet uses "m" without assigning. Update the code snippet to match the other examples where we assign "m" in the context manager. --- docs/source/writing_koji_code.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/writing_koji_code.rst b/docs/source/writing_koji_code.rst index 3bf32951..04b9a9c6 100644 --- a/docs/source/writing_koji_code.rst +++ b/docs/source/writing_koji_code.rst @@ -247,7 +247,7 @@ or they may be passed to the ``call_all`` method. :: - with session.multicall(strict=True, batch=500): + with session.multicall(strict=True, batch=500) as m: builds = [m.getBuild(build_id) for build_id in mylist]