mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-22 10:12:12 +01:00
Mute pylint errors in show_package_disabled_repos() that are false-positives
This commit is contained in:
parent
6989fb8b6f
commit
aa9353f6b5
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user