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

Change subject: [bugfix] Exclude a '-' language from processing
......................................................................


[bugfix] Exclude a '-' language from processing

- wikisource_family.Family constructor appends a '-' language at the end of
  the language_by_size list. This must be excluded from processing. Otherwise
  we get that entry twice.
- exclusion of 'www' is no longer needed since stats are retrieved as xml
  data set. This exception was previously used for the screen scraping regex
  and is no longer required.

Bug: T131752
Change-Id: I05bab72fa24ef13346aee2d7b50aaaeeee2179b4
---
M scripts/maintenance/wikimedia_sites.py
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/scripts/maintenance/wikimedia_sites.py 
b/scripts/maintenance/wikimedia_sites.py
index 9ba8a32..3c56c28 100755
--- a/scripts/maintenance/wikimedia_sites.py
+++ b/scripts/maintenance/wikimedia_sites.py
@@ -41,7 +41,7 @@
     'wiktionary':   'wiktionaries',
 }
 
-exceptions = ['www']
+exceptions = ['-']
 
 
 def update_family(families):

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I05bab72fa24ef13346aee2d7b50aaaeeee2179b4
Gerrit-PatchSet: 3
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <i...@gno.de>
Gerrit-Reviewer: John Vandenberg <jay...@gmail.com>
Gerrit-Reviewer: XZise <commodorefabia...@gmx.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
Pywikibot-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to