mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 09:56:13 +01:00
- meter.py: reduced status bar (this one is used if there's no Content-Length header)
This commit is contained in:
parent
fdc43cd9a2
commit
078400f6cc
@ -45,10 +45,10 @@ class TextMeter(BaseMeter):
|
|||||||
|
|
||||||
|
|
||||||
#self.unsized_templ = '\r%-60.60s %5sB %s '
|
#self.unsized_templ = '\r%-60.60s %5sB %s '
|
||||||
self.unsized_templ = '\r%%-%s.%ss %%5sB %%s ' % (width *4/3, width*3/5)
|
self.unsized_templ = '\r%%-%s.%ss %%5sB %%s ' % (width *2/5, width*3/5)
|
||||||
#self.sized_templ = '\r%-45.45s %3i%% |%-15.15s| %5sB %8s '
|
#self.sized_templ = '\r%-45.45s %3i%% |%-15.15s| %5sB %8s '
|
||||||
self.bar_length = width/5
|
self.bar_length = width/5
|
||||||
self.sized_templ = '\r%%-%s.%ss %%3i%%%% |%%-%s.%ss| %%5sB %%8s ' %(width*4/10, width*4/10, self.bar_length, self.bar_length)
|
self.sized_templ = '\r%%-%s.%ss %%3i%%%% |%%-%s.%ss| %%5sB %%8s ' % (width*4/10, width*4/10, self.bar_length, self.bar_length)
|
||||||
|
|
||||||
|
|
||||||
def _do_start(self, *args, **kwargs):
|
def _do_start(self, *args, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user