Do some code housecleaning.
Review Request #12079 — Created Feb. 23, 2022 and submitted — Latest diff uploaded
This change just makes some relatively mechanical cleanups:
- Fix iteration of TEMPLATES default to not try to iterate over
- Remove or add blank lines and spaces to conform to python style
- Remove some unused variable definitions.
- Always use
clsas the bound variable for classmethods.
- Fix a place where we were catching a
URLErrorbut then accessing
data that's only available on
Ran unit tests.