/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 bzrlib/smart/medium.py

  • Committer: Jelmer Vernooij
  • Date: 2017-02-05 22:51:57 UTC
  • mto: (6621.2.1 py3)
  • mto: This revision was merged to the branch mainline in revision 6624.
  • Revision ID: jelmer@jelmer.uk-20170205225157-jdk9ppega9c3my86
Run 2to3 idioms fixer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1126
1126
        if self._socket is None:
1127
1127
            # socket errors either have a (string) or (errno, string) as their
1128
1128
            # args.
1129
 
            if type(err.args) is str:
 
1129
            if isinstance(err.args, str):
1130
1130
                err_msg = err.args
1131
1131
            else:
1132
1132
                err_msg = err.args[1]