~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ui/text.py

  • Committer: John Arbash Meinel
  • Date: 2008-09-26 22:14:42 UTC
  • mto: This revision was merged to the branch mainline in revision 3747.
  • Revision ID: john@arbash-meinel.com-20080926221442-3r67j99sr9rwe9w0
Make message optional, don't check the memory flag directly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    )
32
32
""")
33
33
 
34
 
from bzrlib.symbol_versioning import (
35
 
    deprecated_method,
36
 
    zero_eight,
37
 
    )
38
34
from bzrlib.ui import CLIUIFactory
39
35
 
40
36
 
66
62
        """Emit prompt on the CLI."""
67
63
        self.stdout.write(prompt)
68
64
        
69
 
    @deprecated_method(zero_eight)
70
 
    def progress_bar(self):
71
 
        """See UIFactory.nested_progress_bar()."""
72
 
        # this in turn is abstract, and creates either a tty or dots
73
 
        # bar depending on what we think of the terminal
74
 
        return progress.ProgressBar()
75
 
 
76
65
    def nested_progress_bar(self):
77
66
        """Return a nested progress bar.
78
67