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

  • Committer: Jelmer Vernooij
  • Date: 2018-06-21 23:59:28 UTC
  • mfrom: (6973.6.4 python3-e)
  • Revision ID: jelmer@jelmer.uk-20180621235928-f7z0vf0lxc6ieo9e
Merge lp:~jelmer/brz/python3-e

Show diffs side-by-side

added added

removed removed

Lines of Context:
738
738
        if sys.platform == 'win32': # Popen doesn't accept unicode on win32
739
739
            command_encoded = []
740
740
            for c in command:
741
 
                if isinstance(c, unicode):
 
741
                if isinstance(c, text_type):
742
742
                    command_encoded.append(c.encode('mbcs'))
743
743
                else:
744
744
                    command_encoded.append(c)