File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -860,7 +860,7 @@ def _check_hashes_obj(file_object, trusted_hashes):
860860
861861 # Raise an exception if any of the hashes are incorrect.
862862 if trusted_hash != computed_hash :
863- raise sslib_exceptions .BadHashError (trusted_hash , computed_hash )
863+ raise exceptions .BadHashError (trusted_hash , computed_hash )
864864
865865 logger .info (
866866 "The file's " + algorithm + " hash is" " correct: " + trusted_hash
@@ -881,7 +881,7 @@ def _check_hashes(file_content, trusted_hashes):
881881
882882 # Raise an exception if any of the hashes are incorrect.
883883 if trusted_hash != computed_hash :
884- raise sslib_exceptions .BadHashError (trusted_hash , computed_hash )
884+ raise exceptions .BadHashError (trusted_hash , computed_hash )
885885
886886 logger .info (
887887 "The file's " + algorithm + " hash is" " correct: " + trusted_hash
You can’t perform that action at this time.
0 commit comments