98c93e68a5
At the moment, if freezer attempts to perform a backup with the consistency check option enabled, it will fail if the files being backed up contain anything other than plain ASCII (or at least some flavour of same, ISO-8859-x etc.). This is because the hashlib module fails as it expects a string to digest rather than a binary blob. This should fix matters by escaping everything that might cause an issue and works for Python 2 and 3. Because it escapes strings in a different way to before, the checksums it computes may be different to previously in some cases, but at least now it should always produce one. Change-Id: Idf62dc9e398c396c9de19cbff5622e79d4c7a198 Closes-Bug: #1595732 |
||
---|---|---|
.. | ||
integration | ||
unit | ||
__init__.py |