/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/ui/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2018-04-02 00:52:27 UTC
  • mfrom: (6939 work)
  • mto: This revision was merged to the branch mainline in revision 7274.
  • Revision ID: jelmer@jelmer.uk-20180402005227-pecflp1mvdjrjqd6
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
522
522
    """
523
523
    # this is now always TextUIFactory, which in turn decides whether it
524
524
    # should display progress bars etc
525
 
    from .text import TextUIFactory, _wrap_in_stream, _wrap_out_stream
526
 
    # GZ 2017-05-21: May want to rewrap streams on Python 3 if encoding config
527
 
    if not PY3:
528
 
        stdin = _wrap_in_stream(stdin)
529
 
        stdout = _wrap_out_stream(stdout)
530
 
        stderr = _wrap_out_stream(stderr)
 
525
    from .text import TextUIFactory
531
526
    return TextUIFactory(stdin, stdout, stderr)
532
527
 
533
528