Skip to content

Handle corrupted databases

Codacy Production / Codacy Static Code Analysis required action Oct 10, 2023 in 0s

2 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 2
           

Complexity increasing per file
==============================
- src/tribler/core/upgrade/db8_to_db10.py  1
         

See the complete overview on Codacy

Annotations

Check failure on line 130 in src/tribler/core/upgrade/db8_to_db10.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/tribler/core/upgrade/db8_to_db10.py#L130

Context manager 'generator' doesn't implement __enter__ and __exit__.

Check failure on line 246 in src/tribler/core/upgrade/db8_to_db10.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/tribler/core/upgrade/db8_to_db10.py#L246

Context manager 'generator' doesn't implement __enter__ and __exit__.