wikimedia / pywikibot-core (master)
Build #2817 passed.
28 minutes and 22 seconds
malafaya 089a424 Changeset →
  Build lang prefixes list once in removeLanguageLinks()

Instead of just checking whether validLanguageLinks() is
empty, it will build a list of language prefixes (including
the obsolete ones) once and then reuses that list to remove
all links which use one of the prefixes.
This indirectly reduces the runtime as it'll won't call
validLanguageLinks() twice if it's not empty.

Bug: T112256
Change-Id: Ie8462010561b510729e04a54447063957bd975f4

Want to know about upcoming build environment updates?

Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you! Sign up here.

Would you like to test your private code?

Travis Pro could be your new best friend!