/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 processors/generic_processor.py

Ignore progress messages unless in verbose mode

Show diffs side-by-side

added added

removed removed

Lines of Context:
526
526
 
527
527
    def progress_handler(self, cmd):
528
528
        """Process a ProgressCommand."""
529
 
        # We could use a progress bar here instead
530
 
        self.note("progress %s" % (cmd.message,))
 
529
        # Most progress messages embedded in streams are annoying.
 
530
        # Ignore them unless in verbose mode.
 
531
        if self.verbose:
 
532
            self.note("progress %s" % (cmd.message,))
531
533
 
532
534
    def reset_handler(self, cmd):
533
535
        """Process a ResetCommand."""