OpenQuizz
Une application de gestion des contenus pédagogiques
MissingHashes Class Reference
Inheritance diagram for MissingHashes:
Collaboration diagram for MissingHashes:

Public Member Functions

def __init__ (self)
 
- Public Member Functions inherited from Hashes
def __init__ (self, hashes=None)
 
def __and__ (self, other)
 
def digest_count (self)
 
def is_hash_allowed (self, hash_name, hex_digest)
 
def check_against_chunks (self, chunks)
 
def check_against_file (self, file)
 
def check_against_path (self, path)
 
def __nonzero__ (self)
 
def __bool__ (self)
 
def __eq__ (self, other)
 
def __hash__ (self)
 

Detailed Description

A workalike for Hashes used when we're missing a hash for a requirement

It computes the actual hash of the requirement and raises a HashMissing
exception showing it to the user.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)
Don't offer the ``hashes`` kwarg.

The documentation for this class was generated from the following file: