You can simply say `H.add_edges_from(G.edges_iter(), capacity=1)`.