diff --git a/requirements.txt b/requirements.txt index 4512eeb93..61f875ca0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ # NOTE(harlowja): For graph generation tool. # # Not currently needed for anything else. -pydot2>=1.0.32 +pydot PyYAML>=3.1.0 six>=1.9.0 yamlordereddictloader diff --git a/tools/universe_dot.py b/tools/universe_dot.py index 6865ef0f7..a5df4bf07 100644 --- a/tools/universe_dot.py +++ b/tools/universe_dot.py @@ -138,5 +138,5 @@ end = time.time() print("Finished in %0.2f seconds" % (end - start)) print("Writing graph to '%s'" % output_dot_file) -with open(output_dot_file, "wb") as fh: +with open(output_dot_file, "w") as fh: fh.write(graph.to_string())