diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-07-14 06:12:24 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-07-14 06:12:24 -0400 |
commit | 0ff5a1c8a31f701321c838eea3beea553882b269 (patch) | |
tree | 39af2290f75ce2087496371d8ba0f76d7b5cf094 | |
parent | 2c624826f82b7ce03d05f7228b5a8cb07f7f27fa (diff) | |
download | python-coveragepy-git-0ff5a1c8a31f701321c838eea3beea553882b269.tar.gz |
fix: it just seems silly to use more than 32 chars for a fingerprint
-rw-r--r-- | coverage/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/misc.py b/coverage/misc.py index 108cf078..bdc0b3cf 100644 --- a/coverage/misc.py +++ b/coverage/misc.py @@ -234,7 +234,7 @@ class Hasher: def hexdigest(self): """Retrieve the hex digest of the hash.""" - return self.hash.hexdigest() + return self.hash.hexdigest()[:32] def _needs_to_implement(that, func_name): |