wikimedia / pywikibot-core (master)
Build #2751 passed.
34 minutes and 54 seconds
Fabian Neundorf 5f4eabe Changeset →
  [FIX] rollback: Use Revision instance properly

The previous implementation assumed that the revisions are ordered by the id
while they are in fact ordered by the timestamp. It also did iterate over the
revision ids and not over the `Revision` instance which caused the loop to
fail.

Now `APISite.rollbackpage` also requires the user to be logged in.

Change-Id: I280a4781f0f293e09dd94e14007f49cee30f60e3

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!