summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2015-05-08 11:03:07 +1200
committerAndrew Bartlett <abartlet@samba.org>2015-06-12 06:57:16 +0200
commit7c62a858514090217a84ac7fe2b6595a1654cc77 (patch)
treeef7119748a4df7eedb08e8a2d34036e0131172ee /python
parent90aa7f12e109669eef23959c510387af31bd8569 (diff)
downloadsamba-7c62a858514090217a84ac7fe2b6595a1654cc77.tar.gz
KCC: docstring for kcc.graph.undemote_vertex()
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>
Diffstat (limited to 'python')
-rw-r--r--python/samba/kcc/graph.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/samba/kcc/graph.py b/python/samba/kcc/graph.py
index 47850da7d28..db8864f5c15 100644
--- a/python/samba/kcc/graph.py
+++ b/python/samba/kcc/graph.py
@@ -444,6 +444,13 @@ def check_demote_vertex(vertex, edge_type):
def undemote_vertex(vertex):
+ """Un-demote non-white vertices
+
+ Set a vertex's to an undemoted state.
+
+ :param vertex: a Vertex()
+ :return: None
+ """
if vertex.is_white():
return