/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/bundle/commands.py

  • Committer: Jelmer Vernooij
  • Date: 2018-07-17 21:20:55 UTC
  • mto: (7045.3.3 python3-r)
  • mto: This revision was merged to the branch mainline in revision 7050.
  • Revision ID: jelmer@jelmer.uk-20180717212055-apkv1s70oo6wpi6o
Fix a few more tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
            bundle_file.seek(0)
102
102
            line = bundle_file.readline()
103
103
            line = bundle_file.readline()
104
 
            content = bundle_file.read().decode('bz2')
 
104
            import bz2
 
105
            content = bz2.decompress(bundle_file.read())
105
106
            self.outf.write(gettext("Decoded contents\n"))
106
107
            self.outf.write(content)
107
108
            self.outf.write('\n')