/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-29 20:24:31 UTC
  • mfrom: (6999 work)
  • mto: This revision was merged to the branch mainline in revision 7008.
  • Revision ID: jelmer@jelmer.uk-20180629202431-2td8kihrsthzuvau
merge trunk.

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)