Do some code housecleaning.

Review Request #12079 — Created Feb. 23, 2022 and submitted — Latest diff uploaded

david
Djblets
release-3.x
djblets

This change just makes some relatively mechanical cleanups:

  • Fix iteration of TEMPLATES default to not try to iterate over None
  • Remove or add blank lines and spaces to conform to python style
    standards.
  • Remove some unused variable definitions.
  • Always use cls as the bound variable for classmethods.
  • Fix a place where we were catching a URLError but then accessing
    data that's only available on HTTPError.

Ran unit tests.

Commits

Files

Loading...