)]}'
{"diskimage_builder/block_device/config.py":[{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"da96f6e8b3c0c2497553d22648dbc130e1326b4a","unresolved":false,"context_lines":[{"line_number":159,"context_line":"    # add the appropriate nodes and edges."},{"line_number":160,"context_line":"    dg \u003d nx.DiGraph()"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"    # check about dg.nodes, to support different networkx versions"},{"line_number":163,"context_line":"    if hasattr(dg.nodes, \u0027__iter__\u0027):"},{"line_number":164,"context_line":"        dg_nodes \u003d dg.nodes"},{"line_number":165,"context_line":"    else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f5c4f37_c3aaf283","line":162,"updated":"2017-09-21 18:15:41.000000000","message":"OK, I *think* I understand... The issue is the usage that is essentially hitting:\n\n\"The functionality that can’t easily is: G.node[n]. In v2.x that becomes G.nodes[n] which doesn’t work in v1.x.\"\n\nSo, you\u0027re checking for v1 or v2 by looking at nodes.__iter__ and choosing that way.","commit_id":"2d416d8013aad38bcd7ae7bae2f4e5d403d66923"}]}
