summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2022-07-11 12:06:54 +1200
committerAndreas Schneider <asn@cryptomilk.org>2022-07-28 06:18:43 +0000
commitffa84f2e5d335626b5f7311af8d2a7056b3e5c6f (patch)
treefa409d3c46a74bb0ddb0d3b146de6f0de997e505 /python
parent9849e7440e30853c61a80ce1f11b7b244ed766fe (diff)
downloadsamba-ffa84f2e5d335626b5f7311af8d2a7056b3e5c6f.tar.gz
py/uptodateness: more details in missing dn report
This does not fix bug 15127, but it improves reporting. https://bugzilla.samba.org/show_bug.cgi?id=15127 Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Jul 28 06:18:43 UTC 2022 on sn-devel-184
Diffstat (limited to 'python')
-rw-r--r--python/samba/uptodateness.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/uptodateness.py b/python/samba/uptodateness.py
index db1ba53885b..49c984a5828 100644
--- a/python/samba/uptodateness.py
+++ b/python/samba/uptodateness.py
@@ -147,7 +147,7 @@ def get_utdv_distances(utdv_edges, dsas):
dist = peak - utdv_edges[dn2][dn1]
d[dn2] = dist
else:
- print("Missing dn %s from UTD vector" % dn1,
+ print(f"Missing dn {dn1} from UTD vector for dsa {dn2}",
file=sys.stderr)
else:
print("missing dn %s from UTD vector list" % dn2,