summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xesc-reporting/esc-report.py2
-rwxr-xr-xqa/bugzillaAutomation.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/esc-reporting/esc-report.py b/esc-reporting/esc-report.py
index 4eac0169..8f830426 100755
--- a/esc-reporting/esc-report.py
+++ b/esc-reporting/esc-report.py
@@ -390,7 +390,7 @@ def gen_rowRegression(useHigh=False):
'BASIC', 'Writer/RTF', 'Writer', '', 'Chart', 'Extensions', 'Formula Editor',
'Impress Remote', 'Installation', 'Linguistic', 'Printing and PDF export',
'UI', 'filters and storage', 'framework', 'graphics stack', 'sdk']:
- if id is '' or id not in statList['data']['esc']['component'][vType]:
+ if id == '' or id not in statList['data']['esc']['component'][vType]:
vOpen = 0
else:
vOpen = statList['data']['esc']['component'][vType][id]
diff --git a/qa/bugzillaAutomation.py b/qa/bugzillaAutomation.py
index 5416eab4..14670d2d 100755
--- a/qa/bugzillaAutomation.py
+++ b/qa/bugzillaAutomation.py
@@ -91,7 +91,7 @@ def analyze_bugzilla(statList, bugzillaData, cfg):
'bisected' not in rowKeywords and 'preBibisect' not in rowKeywords and \
'bibisectNotNeeded' not in rowKeywords and 'notBibisectable' not in rowKeywords:
- if row['severity'] is not 'enhancement':
+ if row['severity'] != 'enhancement':
if row['op_sys'] in ["All", "Windows (All)", "Linux (All)", "macOS (All)"]:
statList['tagRegression']['add'][rowId] = 'bibisectRequest'
else: