Comment 3 for bug 518010

Revision history for this message
Данило Шеган (danilo) wrote : Re: Can't upload exported translations from LP as new tar file

I've never tried uploading a regular tarball (i.e. neither gzip or bzip2 compressed), and it seems that the logic to detect plain tarballs is broken. FWIW, we have

        elif content[257:262] == 'ustar':
            mode = "r|tar"

in lib/lp/translations/model/translationimportqueue.py addOrUpdateEntriesFromTarball() method, and I can see no 'ustar' in there (we do the manual checks to work-around some ancient bugs).