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


Public Member Functions | |
| def | body (self) |
| def | __str__ (self) |
Static Public Attributes | |
| req | |
| head | |
| order | |
A failure to verify a package against known-good hashes
:cvar order: An int sorting hash exception classes by difficulty of
recovery (lower being harder), so the user doesn't bother fretting
about unpinned packages when he has deeper issues, like VCS
dependencies, to deal with. Also keeps error reports in a
deterministic order.
:cvar head: A section heading for display above potentially many
exceptions of this kind
:ivar req: The InstallRequirement that triggered this error. This is
pasted on after the exception is instantiated, because it's not
typically available earlier. | def __str__ | ( | self | ) |
| 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 in HashMismatch, and HashMissing.
|
static |
|
static |
|
static |