mirror of
https://github.com/unitedstates/congress.git
synced 2026-03-25 14:00:05 -04:00
* Remove extra parens that make a tuple in print() calls.
* Use etree.tostring(..., encoding="unicode") instead of encoding to UTF-8 and then decoding.
* Use b"" syntax instead of bytes("".encode("utf8"))) which is equivalent for ASCII strings.
* Remove unnecessary list() around .items(), .keys(), .values().
* Remove unnecessary str() around json.dumps().