use plural for certain variables and functions
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
be18b8f87a
commit
78ac940933
1 changed files with 4 additions and 4 deletions
|
@ -140,7 +140,7 @@ class BugzillaProxy:
|
|||
# It's ok, we build the cache as-needed later in the script.
|
||||
self.user_cache = {}
|
||||
|
||||
def build_product_cache(self, pagure_project):
|
||||
def build_product_cache(self, pagure_projects):
|
||||
""" Cache the bugzilla info about each package in each product.
|
||||
"""
|
||||
|
||||
|
@ -160,7 +160,7 @@ class BugzillaProxy:
|
|||
# interest
|
||||
pkglist = [
|
||||
project["name"]
|
||||
for project in pagure_project
|
||||
for project in pagure_projects
|
||||
if product in project["products"]
|
||||
]
|
||||
for pkg_segment in segment(pkglist, self.config['bugzilla']['req_segment']):
|
||||
|
@ -503,7 +503,7 @@ class DistgitBugzillaSync:
|
|||
|
||||
self.args = parser.parse_args()
|
||||
|
||||
def get_pagure_project(self, project_list=None):
|
||||
def get_pagure_projects(self, project_list=None):
|
||||
""" Builds a large list of all the projects on pagure.
|
||||
Each item in that list is a dict containing:
|
||||
- the namespace of the project
|
||||
|
@ -679,7 +679,7 @@ class DistgitBugzillaSync:
|
|||
print("Building a cache of the rpm packages' summary")
|
||||
self.rpm_summary = package_summary.get_package_summary()
|
||||
|
||||
self.get_pagure_project(self.args.projects)
|
||||
self.get_pagure_projects(self.args.projects)
|
||||
self.add_branches_product_and_summary()
|
||||
|
||||
if self.env["verbose"]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue