diff options
Diffstat (limited to 'python/samba/kcc')
-rw-r--r-- | python/samba/kcc/graph_utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/samba/kcc/graph_utils.py b/python/samba/kcc/graph_utils.py index 704f70d08e9..e3269523624 100644 --- a/python/samba/kcc/graph_utils.py +++ b/python/samba/kcc/graph_utils.py @@ -49,6 +49,10 @@ def write_dot_file(basename, edge_list, vertices=None, label=None, for i, edge in enumerate(edge_list): a, b = edge + if a is None: + a = "Missing source value" + if b is None: + b = "Missing destination value" if reformat_labels: a = a.replace(',', '\\n') b = b.replace(',', '\\n') |