Skip to content

Commit

Permalink
fix: it just seems silly to use more than 32 chars for a fingerprint
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Jul 14, 2021
1 parent 2c62482 commit 0ff5a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coverage/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def update(self, v):

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):
Expand Down

0 comments on commit 0ff5a1c

Please sign in to comment.