plugin/cli: silence pylint warning

We use `_running_in_bg` for now, as other plugins do. Silence the
warning for that.
This commit is contained in:
Christian Kellner 2020-09-11 12:56:52 +02:00 committed by Tom Gundersen
parent 01cf643516
commit 899c2233c7

View file

@ -98,6 +98,7 @@ def handle_osbuild_image(options, session, argv):
print("Created task: %s" % task_id)
print("Task info: %s/taskinfo?taskID=%s" % (options.weburl, task_id))
# pylint: disable=protected-access
if (args.wait is None and kl._running_in_bg()) or args.wait is False:
# either running in the background or must not wait by user's
# request. All done.