/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/progress.py

  • Committer: Richard Wilbur
  • Date: 2016-02-04 19:07:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6618.
  • Revision ID: richard.wilbur@gmail.com-20160204190728-p0zvfii6zase0fw7
Update COPYING.txt from the original http://www.gnu.org/licenses/gpl-2.0.txt  (Only differences were in whitespace.)  Thanks to Petr Stodulka for pointing out the discrepancy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Progress indicators.
18
18
 
19
 
The usual way to use this is via breezy.ui.ui_factory.nested_progress_bar which
 
19
The usual way to use this is via bzrlib.ui.ui_factory.nested_progress_bar which
20
20
will manage a conceptual stack of nested activities.
21
21
"""
22
22
 
164
164
        else:
165
165
            self.ui_factory.clear_term()
166
166
 
167
 
    def __enter__(self):
168
 
        return self
169
 
 
170
 
    def __exit__(self, exc_type, exc_val, exc_tb):
171
 
        self.finished()
172
 
        return False
173
 
 
174
167
 
175
168
class DummyProgress(object):
176
169
    """Progress-bar standin that does nothing.