Rev 5728: actually make the plain_tar export work again. in http://bzr.arbash-meinel.com/branches/bzr/jam-integration
John Arbash Meinel
john at arbash-meinel.com
Mon Mar 21 09:08:43 UTC 2011
At http://bzr.arbash-meinel.com/branches/bzr/jam-integration
------------------------------------------------------------
revno: 5728
revision-id: john at arbash-meinel.com-20110321090834-mki07rp0fpli7f8o
parent: john at arbash-meinel.com-20110318153543-xdm0ngecwne9zrae
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Mon 2011-03-21 10:08:34 +0100
message:
actually make the plain_tar export work again.
-------------- next part --------------
=== modified file 'bzrlib/export/tar_exporter.py'
--- a/bzrlib/export/tar_exporter.py 2011-03-18 15:35:43 +0000
+++ b/bzrlib/export/tar_exporter.py 2011-03-21 09:08:34 +0000
@@ -108,7 +108,7 @@
basename = None
stream = sys.stdout
else:
- stream = open(dest, 'w')
+ stream = open(dest, 'wb')
# gzip file is used with an explicit fileobj so that
# the basename can be stored in the gzip file rather than
# dest. (bug 102234)
More information about the bazaar-commits
mailing list