SonarQube reveal two issues (could be refactored):
-
Delete this unreachable code or refactor the code to make it reachable (in both variants of validation crc/sha we have return statements):
-
This branch duplicates the one on line 268.
|
elif attr == "_packfile_checksum": |
and
|
if attr == "_packfile_checksum": |
SonarQube reveal two issues (could be refactored):
Delete this unreachable code or refactor the code to make it reachable (in both variants of validation crc/sha we have return statements):
gitdb/gitdb/pack.py
Line 851 in f8fdfec
This branch duplicates the one on line 268.
gitdb/gitdb/pack.py
Line 270 in f8fdfec
and
gitdb/gitdb/pack.py
Line 268 in f8fdfec