mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
KCC: minor formatting changes
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
5c72b13887
commit
4ad04a0f6f
@ -171,7 +171,7 @@ def verify_graph_multi_edge_forest(edges, vertices, edge_vertices):
|
||||
|
||||
def verify_graph_forest_of_rings(edges, vertices, edge_vertices):
|
||||
"""The graph should consist of clusters of node connected in rings,
|
||||
with the connections between the cdlusters forming a forest."""
|
||||
with the connections between the clusters forming a forest."""
|
||||
pass
|
||||
|
||||
|
||||
@ -197,10 +197,10 @@ def verify_graph_directed_double_ring(edges, vertices, edge_vertices):
|
||||
|
||||
There might be other connections that *aren't* part of the ring.
|
||||
"""
|
||||
#XXX possibly the 1 and 2 vertex cases are special cases.
|
||||
#XXX 1 and 2 vertex cases are special cases.
|
||||
if not edges:
|
||||
return
|
||||
if len(edges) < 2* len(vertices):
|
||||
if len(edges) < 2 * len(vertices):
|
||||
raise GraphError("directed double ring requires at least twice as many edges as vertices")
|
||||
|
||||
exits = {}
|
||||
|
Loading…
Reference in New Issue
Block a user