From: Douglas Bagnall Date: Mon, 11 Jul 2022 00:06:54 +0000 (+1200) Subject: py/uptodateness: more details in missing dn report X-Git-Tag: samba-4.17.0rc1~261 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ffa84f2e5d335626b5f7311af8d2a7056b3e5c6f;p=thirdparty%2Fsamba.git 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 --- 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,