Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/ui.py @ 26781:1aee2ab0f902
spelling: trivial spell checking
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Sat, 17 Oct 2015 00:58:46 +0200 |
parents | 9f9ec4abe700 |
children | 71d5238f92e9 |
comparison
equal
deleted
inserted
replaced
26780:bbf544b5f2e9 | 26781:1aee2ab0f902 |
---|---|
929 return None | 929 return None |
930 return getprogbar(self) | 930 return getprogbar(self) |
931 | 931 |
932 def _progclear(self): | 932 def _progclear(self): |
933 """clear progress bar output if any. use it before any output""" | 933 """clear progress bar output if any. use it before any output""" |
934 if '_progbar' not in vars(self): # nothing loadef yet | 934 if '_progbar' not in vars(self): # nothing loaded yet |
935 return | 935 return |
936 if self._progbar is not None and self._progbar.printed: | 936 if self._progbar is not None and self._progbar.printed: |
937 self._progbar.clear() | 937 self._progbar.clear() |
938 | 938 |
939 def progress(self, topic, pos, item="", unit="", total=None): | 939 def progress(self, topic, pos, item="", unit="", total=None): |