wikimedia / pywikibot-core (master)
Build #1751 passed.
41 minutes and 13 seconds
pietrodn e6888eb Changeset →
  Don't crash when snaks-order is missing in API result

On older Wikibase versions, snaks-order is not returned from the API results for the items.
If this is the case, the bot crashes when it gets the data.
This fix ensures compatibility with those older version of Wikibase.

Bug: T76833
Change-Id: Ic014c682443919017eb9cd57b883511a6189af91

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!