Commit 7f03e925 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix another Python 2 compatibility issue

parent d38840ea
...@@ -1255,7 +1255,7 @@ def incident_edges_op(g, direction, op, eprop, vprop=None): ...@@ -1255,7 +1255,7 @@ def incident_edges_op(g, direction, op, eprop, vprop=None):
if direction == "in": if direction == "in":
g = GraphView(g, reversed=True, skip_properties=True) g = GraphView(g, reversed=True, skip_properties=True)
libcore.out_edges_op(g._Graph__graph, _prop("e", g, eprop), libcore.out_edges_op(g._Graph__graph, _prop("e", g, eprop),
_prop("v", g, vprop), op) _prop("v", g, vprop), _to_str(op))
if vprop is not orig_vprop: if vprop is not orig_vprop:
g.copy_property(vprop, orig_vprop) g.copy_property(vprop, orig_vprop)
return orig_vprop return orig_vprop
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment