From ffa84f2e5d335626b5f7311af8d2a7056b3e5c6f Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Mon, 11 Jul 2022 12:06:54 +1200 Subject: [PATCH] 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 Reviewed-by: Andreas Schneider Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Thu Jul 28 06:18:43 UTC 2022 on sn-devel-184 --- python/samba/uptodateness.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.47.3