|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, allowed, gots) |
| def | body (self) |
Public Member Functions inherited from HashError | |
| def | __str__ (self) |
Data Fields | |
| allowed | |
| gots | |
Static Public Attributes | |
| order | |
| head | |
Static Public Attributes inherited from HashError | |
| req | |
| head | |
| order | |
Distribution file hash values don't match.
:ivar package_name: The name of the package that triggered the hash
mismatch. Feel free to write to this after the exception is raise to
improve its error message. | def __init__ | ( | self, | |
| allowed, | |||
| gots | |||
| ) |
:param allowed: A dict of algorithm names pointing to lists of allowed
hex digests
:param gots: A dict of algorithm names pointing to hashes we
actually got from the files under suspicion
| def body | ( | self | ) |
Return a summary of me for display under the heading.
This default implementation simply prints a description of the
triggering requirement.
:param req: The InstallRequirement that provoked this error, with
its link already populated by the resolver's _populate_link().
Reimplemented from HashError.
| allowed |
| gots |
|
static |
|
static |