~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ui/text.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-10 03:06:24 UTC
  • mfrom: (4961.2.22 progress)
  • Revision ID: pqm@pqm.ubuntu.com-20100210030624-wnjdp7yy7zb8vu7u
(mbp) Remove passing-around of ProgressBars

Show diffs side-by-side

added added

removed removed

Lines of Context:
238
238
            warnings.warn("%r updated but no tasks are active" %
239
239
                (task,))
240
240
        elif task != self._task_stack[-1]:
241
 
            warnings.warn("%r is not the top progress task %r" %
242
 
                (task, self._task_stack[-1]))
 
241
            # We used to check it was the top task, but it's hard to always
 
242
            # get this right and it's not necessarily useful: any actual
 
243
            # problems will be evident in use
 
244
            #warnings.warn("%r is not the top progress task %r" %
 
245
            #     (task, self._task_stack[-1]))
 
246
            pass
243
247
        self._progress_view.show_progress(task)
244
248
 
245
249
    def _progress_all_finished(self):