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

  • Committer: Jelmer Vernooij
  • Date: 2018-02-16 00:30:12 UTC
  • mto: (6855.3.2 bees)
  • mto: This revision was merged to the branch mainline in revision 6861.
  • Revision ID: jelmer@jelmer.uk-20180216003012-yf1ud0dvoopku1fp
Disable proxying on Python 3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4196
4196
        # too heavily. The call should be as early as possible, as
4197
4197
        # error reporting for past duplicate imports won't have useful
4198
4198
        # backtraces.
4199
 
        lazy_import.disallow_proxying()
 
4199
        if sys.version_info[0] < 3:
 
4200
            # TODO(jelmer): Disable proxying on Python 3, until it's fixed.
 
4201
            # pad.lv/1696545
 
4202
            lazy_import.disallow_proxying()
4200
4203
 
4201
4204
        from . import tests
4202
4205