Skip to content

Commit 746c36b

Browse files
committed
Fixed WFP file scan command option
1 parent bb62a4c commit 746c36b

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Added
1010
- Upcoming changes...
1111

12+
## [0.6.6] - 2021-08-20
13+
### Fixed
14+
- Fixed broken call for scanning WFP file only
15+
1216
## [0.6.5] - 2021-07-15
1317
### Added
1418
- Added support to start scanning while fingerprinting to further increase scan performance
@@ -41,3 +45,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4145
[0.5.6]: https://github.com/scanoss/scanoss.py/compare/v0.5.5...v0.5.6
4246
[0.6.0]: https://github.com/scanoss/scanoss.py/compare/v0.5.6...v0.6.0
4347
[0.6.5]: https://github.com/scanoss/scanoss.py/compare/v0.6.0...v0.6.5
48+
[0.6.6]: https://github.com/scanoss/scanoss.py/compare/v0.6.5...v0.6.6

SBOM.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
[
22
{
33
"vendor": "scanoss",
4-
"component": "scanner.py",
4+
"component": "scanoss.py",
55
"dependency": "self",
6-
"comment": "scanner.py is the implementation, everything else is dependencies",
7-
"license": "BSD-3-Clause",
8-
"license_url": "https://raw.githubusercontent.com/scanoss/scanner.py/master/LICENSE",
9-
"license_text": "Q29weXJpZ2h0IChDKSAyMDE3LTIwMjAsIFNDQU5PU1MgTHRkLiBBbGwgcmlnaHRzIHJlc2VydmVkLgoKClJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dAptb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQgdGhhdCB0aGUgZm9sbG93aW5nIGNvbmRpdGlvbnMg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U0hBTEwgVEhFIENPUFlSSUdIVCBPV05FUiBPUiBDT05UUklCVVRPUlMgQkUgTElBQkxFIEZPUgpBTlkgRElSRUNULCBJTkRJUkVDVCwgSU5DSURFTlRBTCwgU1BFQ0lBTCwgRVhFTVBMQVJZLCBPUiBDT05TRVFVRU5USUFMIERBTUFHRVMKKElOQ0xVRElORywgQlVUIE5PVCBMSU1JVEVEIFRPLCBQUk9DVVJFTUVOVCBPRiBTVUJTVElUVVRFIEdPT0RTIE9SIFNFUlZJQ0VTOwpMT1NTIE9GIFVTRSwgREFUQSwgT1IgUFJPRklUUzsgT1IgQlVTSU5FU1MgSU5URVJSVVBUSU9OKSBIT1dFVkVSIENBVVNFRCBBTkQKT04gQU5ZIFRIRU9SWSBPRiBMSUFCSUxJVFksIFdIRVRIRVIgSU4gQ09OVFJBQ1QsIFNUUklDVCBMSUFCSUxJVFksIE9SIFRPUlQKKElOQ0xVRElORyBORUdMSUdFTkNFIE9SIE9USEVSV0lTRSkgQVJJU0lORyBJTiBBTlkgV0FZIE9VVCBPRiBUSEUgVVNFIE9GIFRISVMKU09GVFdBUkUsIEVWRU4gSUYgQURWSVNFRCBPRiBUSEUgUE9TU0lCSUxJVFkgT0YgU1VDSCBEQU1BR0UuCgo="
6+
"comment": "scanoss.py is the implementation, everything else is dependencies",
7+
"license": "GPL-2.0-or-later",
8+
"license_url": "https://raw.githubusercontent.com/scanoss/scanoss.py/master/LICENSE"
109
},
1110
{
1211
"vendor": "ICRAR",

src/scanoss/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
"""
1919

20-
__version__ = '0.6.5'
20+
__version__ = '0.6.6'

src/scanoss/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def scan(parser, args):
189189
flags=flags, nb_threads=nb_threads
190190
)
191191
if args.wfp:
192-
scanner.scan_wfp_file_threaded(args.wfp)
192+
scanner.scan_wfp_file(args.wfp)
193193
elif args.scan_dir:
194194
if not os.path.exists(args.scan_dir):
195195
print_stderr(f'Error: File or folder specified does not exist: {args.scan_dir}.')

0 commit comments

Comments
 (0)