[BUG?] export to tar.gz produce strange name for inner tar

Martin Pool mbp at sourcefrog.net
Tue Apr 10 03:57:10 BST 2007


On 4/6/07, John Arbash Meinel <john at arbash-meinel.com> wrote:
> We could work around this by doing:
>
> fileobj = open(export_path, 'wb')
> tar = tarfile.open(os.path.basename(export_path), 'w:gz',
>                    fileobj=fileobj)

That's what I had in mind.

-- 
Martin



More information about the bazaar mailing list