Skip to content

Commit

Permalink
Merge pull request #3972 from aboutcode-org/update-go-inspector
Browse files Browse the repository at this point in the history
Update go inspector
  • Loading branch information
AyanSinhaMahapatra authored Nov 6, 2024
2 parents d23d120 + f450020 commit 74d24f7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements-linux.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packagedcode-msitools==0.101.210706
regipy==3.1.0
rpm-inspector-rpm==4.16.1.3.210404
go-inspector==0.3.1
go-inspector==0.5.0
2 changes: 1 addition & 1 deletion setup-mini.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ packages =
rpm_inspector_rpm >= 4.16.1.3; platform_system == 'Linux'
regipy >= 3.1.0; platform_system == 'Linux'
packagedcode_msitools >= 0.101.210706; platform_system == 'Linux'
go-inspector >= 0.3.1; platform_system == 'Linux'
go-inspector >= 0.5.0; platform_system == 'Linux'


[options.entry_points]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ packages =
rpm_inspector_rpm >= 4.16.1.3; platform_system == 'Linux'
regipy >= 3.1.0; platform_system == 'Linux'
packagedcode_msitools >= 0.101.210706; platform_system == 'Linux'
go-inspector >= 0.3.1; platform_system == 'Linux'
go-inspector >= 0.5.0; platform_system == 'Linux'


[options.entry_points]
Expand Down
8 changes: 8 additions & 0 deletions src/packagedcode/recognize.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,11 @@ def _parse(

if TRACE:
raise

except Exception as e:
# We should continue when an Exception has occured when trying to
# recognize a package
if TRACE:
logger_debug(f'_parse: Exception: {str(e)}')

continue

0 comments on commit 74d24f7

Please sign in to comment.