Commit 5b45d806 authored by Tiago Peixoto's avatar Tiago Peixoto

Fix add_edge_property()

add_edge_property() should return a edge property not a vertex_property
parent 866bb994
......@@ -409,7 +409,7 @@ class Graph(object):
"""Add a new (uninitialized) edge property map of type 'type', and
return it"""
self.edit_edge_property(name, type)
return self.vertex_properties[name]
return self.edge_properties[name]
@_handle_exceptions
@_lazy_load
......
Markdown is supported
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