mandatoryprogrammer / TrustTrees

A Tool for DNS Delegation Trust Graphing
Apache License 2.0
403 stars 70 forks source link

Update __main__.py #27

Closed alanyee closed 4 years ago

alanyee commented 4 years ago

-Use splitlines() which deals with the use case where there is no EOF newline -open() should be done with with to ensure closure when i/o is no longer needed