More updates from revisions team

We're trying to phase out the byuimpactrevisions repository, but here are a few more commits that have been made there.
Usually, you don't explicitly test boolean values in Python.  The statement ```if nodes[node]:``` is typically preferred.