~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ui/__init__.py

Update news and deprecated the old progress bar api.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    layer different applications can choose the style of UI.
41
41
    """
42
42
 
43
 
    deprecated_method(zero_eight)
 
43
    @deprecated_method(zero_eight)
44
44
    def progress_bar(self):
45
45
        """See UIFactory.nested_progress_bar()."""
46
46
        raise NotImplementedError(self.progress_bar)
72
72
    This is the default UI, if another one is never registered.
73
73
    """
74
74
 
75
 
    deprecated_method(zero_eight)
 
75
    @deprecated_method(zero_eight)
76
76
    def progress_bar(self):
77
77
        """See UIFactory.nested_progress_bar()."""
78
78
        return bzrlib.progress.DummyProgress()