[virt-tools-list] [PATCH 15/17] progress: Resolve E226

Radostin Stoyanov rstoyanov1 at gmail.com
Thu Oct 25 12:37:56 UTC 2018


E226: missing whitespace around arithmetic operator

Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
---
 virtinst/progress.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtinst/progress.py b/virtinst/progress.py
index 2c8bb8f3..7afd215e 100644
--- a/virtinst/progress.py
+++ b/virtinst/progress.py
@@ -257,7 +257,7 @@ class TextMeter(BaseMeter):
             sofar_pc = (sofar_size * 100) // _text_meter_total_size
 
         # Include text + ui_rate in minimal
-        tl = TerminalLine(8, 8+1+8)
+        tl = TerminalLine(8, 8 + 1 + 8)
         # For big screens, make it more readable.
         use_hours = bool(tl._llen > 80)
         ui_size = tl.add(' | %5sB' % fread)
-- 
2.17.2




More information about the virt-tools-list mailing list