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

  • Committer: Jelmer Vernooij
  • Date: 2018-11-16 12:37:19 UTC
  • mto: (7143.16.20 even-more-cleanups)
  • mto: This revision was merged to the branch mainline in revision 7175.
  • Revision ID: jelmer@jelmer.uk-20181116123719-xf6cc7myyck63mjs
Fix syntax.

Show diffs side-by-side

added added

removed removed

Lines of Context:
304
304
        pb_type = config.GlobalStack().get('progress_bar')
305
305
        if pb_type == 'none':  # Explicit requirement
306
306
            return NullProgressView()
307
 
        if (pb_type == 'text'  # or # Explicit requirement
 
307
        if (pb_type == 'text' or # Explicit requirement
308
308
                progress._supports_progress(self.stderr)):  # Guess
309
309
            return TextProgressView(self.stderr)
310
310
        # No explicit requirement and no successful guess