yum: Fix up the filter check when doing GetRepoList(). Fixes rh#598697
This commit is contained in:
parent
1ed4c0c35a
commit
72a5f91e35
@ -2682,7 +2682,7 @@ class PackageKitYumBackend(PackageKitBaseBackend, PackagekitPackage):
|
||||
self.error(ERROR_INTERNAL_ERROR, _format_str(traceback.format_exc()))
|
||||
return
|
||||
for repo in repos:
|
||||
if filters != FILTER_NOT_DEVELOPMENT or not _is_development_repo(repo.id):
|
||||
if not FILTER_NOT_DEVELOPMENT in filters or not _is_development_repo(repo.id):
|
||||
enabled = repo.isEnabled()
|
||||
self.repo_detail(repo.id, repo.name, enabled)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user