Commit b9b1038f authored by MinchinWeb's avatar MinchinWeb

Fix PEP8 E127

continuation line over-indented for visual indent
parent 040534b6
......@@ -130,8 +130,8 @@ class DirectedGraph(object):
"""
Returns True iff the given node has no incoming or outgoing edges.
"""
return len(self.incoming_neighbors(p_id)) == 0 \
and len(self.outgoing_neighbors(p_id)) == 0
return(len(self.incoming_neighbors(p_id)) == 0
and len(self.outgoing_neighbors(p_id)) == 0)
def has_edge(self, p_from, p_to):
""" Returns True when the graph has the given edge. """
......
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