Dachary has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/311562

Change subject: repository: set retrieved when adding the protocol
......................................................................

repository: set retrieved when adding the protocol

Because it implies the source URL has been retrieved and verified.

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


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/bots/FLOSSbot 
refs/changes/62/311562/1

diff --git a/FLOSSbot/repository.py b/FLOSSbot/repository.py
index a751279..4026cdb 100644
--- a/FLOSSbot/repository.py
+++ b/FLOSSbot/repository.py
@@ -282,6 +282,7 @@
             protocol.setTarget(target_protocol)
             if not self.args.dry_run:
                 claim.addQualifier(protocol, bot=True)
+                self.set_retrieved(item, claim)
             self.info(item, "SET protocol of " + claim.getTarget())
 
     def guess_protocol_from_url(self, url):

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib009284e458a8ae2c7a5268b4f1704318123598f
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/bots/FLOSSbot
Gerrit-Branch: master
Gerrit-Owner: Dachary <l...@dachary.org>

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

Reply via email to