Migrate python tasks to new-style options.

Review Request #1244 - Created Oct. 29, 2014 and submitted

Benjy Weinberger
jsirois, patricklaw, zundel

Migrate python tasks to new-style options.

CI passed.

Manually verified that flags work as expected, especially the global --interpreter flag, as used by these tasks.

Eric Ayers
Benjy Weinberger
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted as c7ba9278e1e9647d6ac764d72cfa1269e58093d5.
Patrick Lawson


What's the story on still using self.context.config in the presence of new style options?

  1. It still works, we'd like to transition to using options for most places. Benjy and I discussed this in a comment on the Migration section of https://docs.google.com/a/squareup.com/document/d/1nAWEAJusLZGhrImF-ts-GHsy1Hs6ou9GynUNTBKzrrw/edit

  2. If something is currently config-only, then we leave it as-is (except for a few special cases where the config key was literally 1:1 with a flag).

    After we're completely over to the new options, we go back and register any remaining config-only options, to bring them in line.