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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-03-25 06:52:38 UTC
  • mfrom: (5018.1.12 lazy-commands)
  • Revision ID: pqm@pqm.ubuntu.com-20100325065238-0mser11okatoq0yz
(mbp) allow builtin commands to be lazy loaded; make bundle-info lazy

Show diffs side-by-side

added added

removed removed

Lines of Context:
253
253
    def _progress_all_finished(self):
254
254
        self._progress_view.clear()
255
255
 
256
 
    def show_user_warning(self, warning_id, **message_args):
257
 
        """Show a text message to the user.
258
 
 
259
 
        Explicitly not for warnings about bzr apis, deprecations or internals.
260
 
        """
261
 
        # eventually trace.warning should migrate here, to avoid logging and
262
 
        # be easier to test; that has a lot of test fallout so for now just
263
 
        # new code can call this
264
 
        if warning_id not in self.suppressed_warnings:
265
 
            self.stderr.write(self.format_user_warning(warning_id, message_args) +
266
 
                '\n')
267
 
 
268
256
 
269
257
class TextProgressView(object):
270
258
    """Display of progress bar and other information on a tty.