jayvdb / pywikibot-core (querygen-flowcontrol-rebased)
Build #111 passed.
12 minutes and 7 seconds
John Vandenberg aa15681 Changeset →
  Simplify QueryGenerator.__iter__ flow control

Rearrange the logic to use less nested branching, and
destroy the data before exiting the iteration.

Removes 'None' as a valid value for QueryGenerator.limit;
it was not able to be set using set_maximum_items().

Adds some iterator state information to help with debugging
and test validation, and dont leave data in an instance variable.

Bug: 64489

Change-Id: Ie3a9e3576a0174703bcccf0d77ed42d56da0d09f

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!