Do a bunch of cleanup in contrib/

Review Request #4977 — Created Nov. 15, 2013 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

Do a bunch of cleanup in contrib/

This change does a bunch of cleanup that we've done in review board but
neglected to do here, including:
- Unicode string migration
- Print function migration
- Remove selenium crud
- Make sure all commands run their code from an "if __name__ == '__main__"
block.
- General import maintenance and cleanup
- Pull in "input" from six.moves
- Make the extension generator create code with the above improvements

  • Verified common scripts still did their thing
  • Generated an extension and checked the output
contrib/conf/settings_local.py.tmpl
contrib/internal/build-i18n.py
contrib/internal/build-media.py
contrib/internal/devserver.py
contrib/internal/prepare-dev.py
contrib/internal/release.py
contrib/internal/run-pyflakes.py
contrib/internal/test-upgrade.py
contrib/internal/webapi-lint.py
contrib/internal/conf/settings_local.py
contrib/profiling/gather_profile_stats.py
contrib/profiling/print_info.py
contrib/tools/generate_extension.py
contrib/tools/tests.py
contrib/tools/templates/extensions/setup.py
contrib/tools/templates/extensions/extension/admin_urls.py
contrib/tools/templates/extensions/extension/extension.py
contrib/tools/templates/extensions/extension/urls.py
contrib/tools/templates/extensions/extension/views.py
Loading...