Skip to content

Commit db6d1a4

Browse files
Fix misc test failures
Signed-off-by: Ayan Sinha Mahapatra <asmahapatra@aboutcode.org>
1 parent 5c7807f commit db6d1a4

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

README.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22
ScanCode Toolkit
33
================
44

5-
ScanCode Toolkit is a set of code scanning tools that detect the origin (copyrights), license and vulnerabilities of code, packages and dependencies in a codebase. ScanCode Toolkit is an `AboutCode project <https://aboutcode.org>`_.
5+
ScanCode Toolkit is a set of code scanning tools that detect the origin (copyrights), license and vulnerabilities of code,
6+
packages and dependencies in a codebase. ScanCode Toolkit is an `AboutCode project <https://aboutcode.org>`_.
67

78
Why Use ScanCode Toolkit?
89
=========================
910

10-
ScanCode Toolkit is the leading tool in scanning depth and accuracy, used by hundreds of software teams. You can use ScanCode Toolkit as a command line tool or as a library.
11+
ScanCode Toolkit is the leading tool in scanning depth and accuracy,
12+
used by hundreds of software teams. You can use ScanCode Toolkit
13+
as a command line tool or as a library.
1114

1215
Getting Started
1316
===============
@@ -84,7 +87,7 @@ Benefits of ScanCode
8487
Support
8588
=======
8689

87-
If you have a specific problem, suggestion or bug, please submit a
90+
If you have a specific problem, suggestion or bug, please submit a
8891
`GitHub issue <https://github.com/aboutcode-org/scancode-toolkit/issues>`_.
8992

9093
For quick questions or socializing, join the AboutCode community discussions on `Slack <https://join.slack.com/t/aboutcode-org/shared_invite/zt-3li3bfs78-mmtKG0Qhv~G2dSlNCZW2pA>`_.

src/packagedcode/plugin_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def get_scanner(
228228
get_package_data,
229229
application=package,
230230
system=system_package,
231-
binary=package_in_compiled,
231+
compiled=package_in_compiled,
232232
package_only=package_only,
233233
)
234234

src/packagedcode/win_reg.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
from pathlib import Path
1414
from pathlib import PureWindowsPath
1515

16+
from dataclasses import asdict
17+
1618
import attr
1719

1820
try:
@@ -68,7 +70,7 @@ def get_registry_tree(registry_location, registry_path):
6870
if not name_key_entry:
6971
return []
7072
return [
71-
attr.asdict(entry) for entry in registry_hive.recurse_subkeys(name_key_entry, as_json=True)
73+
asdict(entry) for entry in registry_hive.recurse_subkeys(name_key_entry, as_json=True)
7274
]
7375

7476

0 commit comments

Comments
 (0)