summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorintrigeri2015-08-01 10:14:22 +0000
committerintrigeri2015-08-01 10:14:22 +0000
commitd8331c694a9023d82d702ed39e556d70bfb14869 (patch)
tree7e72d9a657390e866ee06a9110c256525caabf77 /setup.py
parentd397ab99d1da7eba5db2dc14c68dec9bcd479b8d (diff)
archive: explicitly treat text we got from tarfile as encoded UTF-8 (Closes: MAT#9831).
Without this, I see test failures caused by: test_remove_bz2 (libtest.TestArchiveProcessing) Test MAT's ability to process .tar.bz2 ... /usr/lib/python2.7/tarfile.py:1993: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal if self.name is not None and os.path.abspath(name) == self.name: This change seems to make sense because we're creating our tarin and tarout objects with encoding='utf-8' in the first place, so it's no big surprise that what we get from it is UTF-8 -encoded text.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions