ensure octal format is fed an integer
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Thu, 2 Mar 2017 13:40:39 +0000 (14:40 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:08 +0000 (13:34 +0200)
commit8112b0ed0aaf349461ff011f01fa277f1a60d7e5
tree7b0fb54d57a2b50a424ca87f2441c4721295580e
parent1817bfb4780c49c3730645ad33964887fe393da7
ensure octal format is fed an integer

Fix a “type” error that seems to be enforced by Python 3:

      File "/src/python/python-delta-tar/deltatar/tarfile.py", line 220, in itn
        s = bytes("%0*o" % (digits - 1, n), "ascii") + NUL
    TypeError: %o format: an integer is required, not float
deltatar/tarfile.py