def _calc_size(self, name, link=None):
        # initial tar header
        count = 512

        if len(name) > tarfile.LENGTH_NAME:
            # gnu longname extended header + longname
            count += 512
            count += self._length(name)

        if link is not None and tarfile.LENGTH_LINK > len(link):
            # gnu longlink extended header + longlink
            count += 512
            count += self._length(link)

        return count
dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_tarfile.py/WriteGNULongTest._calc_size/swapped operands of `>`