18F / domain-scan

A lightweight pipeline, locally or in Lambda, for scanning things like HTTPS, third party service use, and web accessibility.
Other
369 stars 139 forks source link

Use the correct way to access dict of object #248

Closed tadhg-ohiggins closed 6 years ago

tadhg-ohiggins commented 6 years ago

There is a good way It is the Pythonic way We should use that way.

I was lazy in an early iteration of this code and then kept one of the artifacts of that laziness around through later versions/branches. This corrects that by using vars() instead of directly accessing the parser object's __dict__ property.