1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/python/samba/kcc
Douglas Bagnall f27a700e69 python/kcc/graph_utils: short-cut edge failure test without edges
Otherwise we get an exception because itertools.combinations is asked
to find combinations with negative size.

Instead we assert the graph is connected as-is, which in this case is
the same as asserting there are no vertices.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-06-10 19:02:19 +02:00
..
__init__.py kcc graphs: site edges in colour, labeled with DNs 2018-05-31 01:57:16 +02:00
debug.py samba_kcc: kcc.debug module defers to samba.colour 2018-01-13 17:37:07 +01:00
graph_utils.py python/kcc/graph_utils: short-cut edge failure test without edges 2018-06-10 19:02:19 +02:00
graph.py kcc graph verifier: use __doc__ description for error explanation 2018-05-31 01:57:16 +02:00
kcc_utils.py kcc graphs: site edges in colour, labeled with DNs 2018-05-31 01:57:16 +02:00
ldif_import_export.py python/samba: bulk conversion of caller to dsdb_Dn 2nd param. 2018-04-30 15:43:19 +02:00