Fix the testsuite
This commit is contained in:
parent
1b356b8c6f
commit
7901fdef2e
6
mat2
6
mat2
@ -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__':
|
||||||
|
Loading…
Reference in New Issue
Block a user