jenkins-bot has submitted this change and it was merged.

Change subject: qa: replace claims[0] with claim
......................................................................


qa: replace claims[0] with claim

Change-Id: Ic3c0601613caab141939a5ef3705ef2b41dac6a1
Signed-off-by: Loic Dachary <l...@dachary.org>
---
M FLOSSbot/qa.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Dachary: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/FLOSSbot/qa.py b/FLOSSbot/qa.py
index 0d9fc09..da3bee5 100644
--- a/FLOSSbot/qa.py
+++ b/FLOSSbot/qa.py
@@ -73,7 +73,7 @@
         claims = item.claims[self.P_software_quality_assurance]
         has_ci = False
         for claim in claims:
-            if claims[0].getTarget() == self.Q_Continuous_integration:
+            if claim.getTarget() == self.Q_Continuous_integration:
                 has_ci = True
         if not has_ci:
             return ['no ci']

-- 
To view, visit https://gerrit.wikimedia.org/r/316588
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic3c0601613caab141939a5ef3705ef2b41dac6a1
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/bots/FLOSSbot
Gerrit-Branch: master
Gerrit-Owner: Dachary <l...@dachary.org>
Gerrit-Reviewer: Dachary <l...@dachary.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to