1
0
mirror of synced 2024-11-25 18:54:22 +01:00

Fix the testsuite

This commit is contained in:
jvoisin 2018-10-03 15:29:46 +02:00
parent 1b356b8c6f
commit 7901fdef2e

6
mat2
View File

@ -140,11 +140,11 @@ def main():
if unknown_member_policy == UnknownMemberPolicy.KEEP: if unknown_member_policy == UnknownMemberPolicy.KEEP:
logging.warning('Keeping unknown member files may leak metadata in the resulting file!') logging.warning('Keeping unknown member files may leak metadata in the resulting file!')
success = True no_failure = True
for f in __get_files_recursively(args.files): for f in __get_files_recursively(args.files):
if clean_meta([f, args.lightweight, unknown_member_policy]) is False: if clean_meta([f, args.lightweight, unknown_member_policy]) is False:
success = False no_failure = False
return success return 0 if no_failure is True else -1
if __name__ == '__main__': if __name__ == '__main__':