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

  • Committer: Martin Pool
  • Date: 2009-06-19 08:37:24 UTC
  • mto: This revision was merged to the branch mainline in revision 4558.
  • Revision ID: mbp@sourcefrog.net-20090619083724-2ecyfcz7wfnt558f
doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
 
51
51
    This doesn't check the policy for whether we *should* use them.
52
52
    """
 
53
    # XXX: This is a bit redundant with make_ui_for_terminal.
53
54
    isatty = getattr(f, 'isatty', None)
54
55
    if isatty is None:
55
56
        return False