From: Rob van der Linde Date: Thu, 23 Feb 2023 02:46:43 +0000 (+1300) Subject: selftest: fix invalid loop variables uid and gid X-Git-Tag: talloc-2.4.1~1585 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a7a779df5df40cd4b8003b9082cb2e3f22545c9;p=thirdparty%2Fsamba.git selftest: fix invalid loop variables uid and gid Signed-off-by: Rob van der Linde Reviewed-by: Andrew Bartlett Reviewed-by: Joseph Sutton --- diff --git a/source3/script/tests/test_wbinfo_sids2xids_int.py b/source3/script/tests/test_wbinfo_sids2xids_int.py index 759edbccd97..0eb5f316b9a 100755 --- a/source3/script/tests/test_wbinfo_sids2xids_int.py +++ b/source3/script/tests/test_wbinfo_sids2xids_int.py @@ -27,9 +27,9 @@ def run(cmd): def flush_cache(sids=[], uids=[], gids=[]): for sid in sids: os.system(netcmd + (" cache del IDMAP/SID2XID/%s" % (sid))) - for uids in uids: + for uid in uids: os.system(netcmd + (" cache del IDMAP/UID2SID/%s" % (uid))) - for gids in gids: + for gid in gids: os.system(netcmd + (" cache del IDMAP/GID2SID/%s" % (gid)))