11#
2- # Copyright (c) nexB Inc. and others.
3- # SPDX-License-Identifier: Apache-2.0
4- #
5- # Visit https://aboutcode.org and https://github.com/nexB/ for support and download.
2+ # Copyright (c) nexB Inc. and others. All rights reserved.
63# ScanCode is a trademark of nexB Inc.
7- #
8- # Licensed under the Apache License, Version 2.0 (the "License");
9- # you may not use this file except in compliance with the License.
10- # You may obtain a copy of the License at
11- #
12- # http://www.apache.org/licenses/LICENSE-2.0
13- #
14- # Unless required by applicable law or agreed to in writing, software
15- # distributed under the License is distributed on an "AS IS" BASIS,
16- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17- # See the License for the specific language governing permissions and
18- # limitations under the License.
4+ # SPDX-License-Identifier: Apache-2.0
5+ # See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
6+ # See https://github.com/nexB/extractcode for support or download.
7+ # See https://aboutcode.org for more information about nexB OSS projects.
198#
209
2110"""
@@ -42,13 +31,13 @@ def extract_archives(
4231
4332 Note: this API is returning an iterable and NOT a sequence.
4433 """
45-
34+
4635 from extractcode .extract import extract
4736 from extractcode import default_kinds
4837 from extractcode import all_kinds
4938
5039 kinds = all_kinds if all_formats else default_kinds
51-
40+
5241 for xevent in extract (
5342 location = location ,
5443 kinds = kinds ,
0 commit comments