/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/bundle_data.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-08-21 09:32:52 UTC
  • mfrom: (7065.3.15 python-bundle)
  • Revision ID: breezy.the.bot@gmail.com-20180821093252-dhir83sygqwzbv77
Fix some bundle-related tests on Python 3.

Merged from https://code.launchpad.net/~jelmer/brz/python-bundle/+merge/353123

Show diffs side-by-side

added added

removed removed

Lines of Context:
350
350
 
351
351
        def do_patch(path, lines, encoding):
352
352
            if encoding == 'base64':
353
 
                patch = base64.decodestring(b''.join(lines))
 
353
                patch = base64.b64decode(b''.join(lines))
354
354
            elif encoding is None:
355
355
                patch =  b''.join(lines)
356
356
            else: