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)))