зеркало из https://github.com/mozilla/bugbot.git
Improve some comments
This commit is contained in:
Родитель
88fea6fbe5
Коммит
e1fa05db82
|
@ -115,7 +115,9 @@ class NoCrashReportFoundError(Exception):
|
|||
|
||||
|
||||
class ClouseauDataAnalyzer:
|
||||
"""Analyze the data returned by Crash Clouseau"""
|
||||
"""Analyze the data returned by Crash Clouseau about a specific crash
|
||||
signature.
|
||||
"""
|
||||
|
||||
MINIMUM_CLOUSEAU_SCORE_THRESHOLD: int = 8
|
||||
DEFAULT_CRASH_COMPONENT = ComponentName("Core", "General")
|
||||
|
|
|
@ -149,8 +149,8 @@ class FileCrashBug(BzCleaner):
|
|||
],
|
||||
}
|
||||
|
||||
# Filling the `flags` field on bugzilla-dev will cause an error when
|
||||
# the user does not exist.
|
||||
# NOTE: Filling the `flags` field on bugzilla-dev will cause an
|
||||
# error when the user does not exist.
|
||||
if needinfo_regression_author and not self.FILE_ON_BUGZILLA_DEV:
|
||||
bug_data["flags"] = [
|
||||
{
|
||||
|
@ -164,8 +164,8 @@ class FileCrashBug(BzCleaner):
|
|||
if signature.regressed_by:
|
||||
bug_data["keywords"].append("regression")
|
||||
|
||||
# Filling the `regressed_by` field on bugzilla-dev will cause "bug
|
||||
# does not exist" errors.
|
||||
# NOTE: Filling the `regressed_by` field on bugzilla-dev will cause
|
||||
# "bug does not exist" errors.
|
||||
if signature.regressed_by and not self.FILE_ON_BUGZILLA_DEV:
|
||||
bug_data["regressed_by"] = signature.regressed_by
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче