~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/progress.py

  • Committer: Aaron Bentley
  • Date: 2006-03-18 21:02:22 UTC
  • mto: (1558.7.5 Aaron's integration)
  • mto: This revision was merged to the branch mainline in revision 1629.
  • Revision ID: aaron.bentley@utoronto.ca-20060318210222-8a49d67ada6f8638
Fix overall progress bar's interaction with 'note' and 'warning'

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
        else:
96
96
            return None
97
97
 
 
98
    def bottom(self):
 
99
        if len(self._stack) != 0:
 
100
            return self._stack[0]
 
101
        else:
 
102
            return None
 
103
 
98
104
    def get_nested(self):
99
105
        """Return a nested progress bar."""
100
106
        if len(self._stack) == 0: