Commit d38840ea authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix python 2 compatibility issue

parent 825a4a36
......@@ -1202,7 +1202,7 @@ def edge_endpoint_property(g, prop, endpoint, eprop=None):
raise ValueError("'eprop' must be of the same value type as 'prop': " +
libcore.edge_endpoint(g._Graph__graph, _prop("v", g, prop),
_prop("e", g, eprop), endpoint)
_prop("e", g, eprop), _to_str(endpoint))
return eprop
@_limit_args({"direction": ["in", "out"], "op": ["sum", "prod", "min", "max"]})
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