Skip to content

Sast checks #129

@sminux

Description

@sminux

SonarQube reveal two issues (could be refactored):

  1. Delete this unreachable code or refactor the code to make it reachable (in both variants of validation crc/sha we have return statements):

    return True

  2. This branch duplicates the one on line 268.

    elif attr == "_packfile_checksum":

    and
    if attr == "_packfile_checksum":

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions