From aa9353f6b5bd7816e40bafe04dbff870a63f2fdb Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Fri, 29 Nov 2024 16:24:33 +0100 Subject: [PATCH] Mute pylint errors in show_package_disabled_repos() that are false-positives --- osc/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/core.py b/osc/core.py index 230c96ea..84038b01 100644 --- a/osc/core.py +++ b/osc/core.py @@ -1434,8 +1434,8 @@ def show_package_disabled_repos(apiurl: str, prj: str, pac: str): package_obj = obs_api.Package.from_api(apiurl, prj, pac) result = [] for i in package_obj.build_list or []: - if i.flag == "disable": - result.append({"repo": i.repository, "arch": i.arch}) + if i.flag == "disable": # pylint: disable=no-member + result.append({"repo": i.repository, "arch": i.arch}) # pylint: disable=no-member return result