mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-23 02:32:13 +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)
|
package_obj = obs_api.Package.from_api(apiurl, prj, pac)
|
||||||
result = []
|
result = []
|
||||||
for i in package_obj.build_list or []:
|
for i in package_obj.build_list or []:
|
||||||
if i.flag == "disable":
|
if i.flag == "disable": # pylint: disable=no-member
|
||||||
result.append({"repo": i.repository, "arch": i.arch})
|
result.append({"repo": i.repository, "arch": i.arch}) # pylint: disable=no-member
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user