Skip to content

Commit

Permalink
csmock: drop DEFAULT_KNOWN_FALSE_POSITIVES_FALLBACK
Browse files Browse the repository at this point in the history
The default path was renamed more than 2 years ago.  Nobody should
use the fallback path any more.

Related: commit d7afe41
  • Loading branch information
kdudka committed Aug 29, 2023
1 parent 5924ce8 commit 202fd3e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions py/csmock
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ PATCH_RAWBUILD = CSMOCK_SCRIPTS + "/patch-rawbuild.sh"

DEFAULT_KNOWN_FALSE_POSITIVES = CSMOCK_DATADIR + "/known-false-positives.js"

# original name of the file, which could have sounded offensive to people
DEFAULT_KNOWN_FALSE_POSITIVES_FALLBACK = CSMOCK_DATADIR + "/defect-blacklist.err"

# how long should we wait before checking mock profile availability again
MOCK_WAITING_TICK = 60

Expand Down Expand Up @@ -901,9 +898,6 @@ key event (defaults to 3).")
if os.path.exists(DEFAULT_KNOWN_FALSE_POSITIVES):
default_kfp = DEFAULT_KNOWN_FALSE_POSITIVES
default_kfp_text = " (defaults to \"%s\")" % default_kfp
elif os.path.exists(DEFAULT_KNOWN_FALSE_POSITIVES_FALLBACK):
default_kfp = DEFAULT_KNOWN_FALSE_POSITIVES_FALLBACK
default_kfp_text = " (defaults to \"%s\")" % default_kfp
else:
default_kfp = ""
default_kfp_text = " (defaults to \"%s\" if available)" % DEFAULT_KNOWN_FALSE_POSITIVES
Expand Down

0 comments on commit 202fd3e

Please sign in to comment.