Re: Intended effect of returning None from ManifestFilesMixin.file_hash

2018-11-25 Thread Adam Johnson
That does seem like an unintentional bug, since the code is forming a string under the condition "if file_hash is not None:". On Sun, 25 Nov 2018 at 03:26, Richard Campen wrote: > Hello > > I am currently looking at implementing a custom file hashing function when > using the ManifestFilesMixin

Intended effect of returning None from ManifestFilesMixin.file_hash

2018-11-24 Thread Richard Campen
Hello I am currently looking at implementing a custom file hashing function when using the ManifestFilesMixin class to provide white list based file hashing of static files. In the process I have found what seems to be an unintended result of returning `None` from a custom `file_hash()` functi