[virt-tools-list] [PATCH 10/17] progress: Resolve E129
Radostin Stoyanov
rstoyanov1 at gmail.com
Thu Oct 25 12:37:51 UTC 2018
E129: visually indented line with same indent as next logical line
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 0d0c372f..634b16ac 100644
--- a/virtinst/progress.py
+++ b/virtinst/progress.py
@@ -135,7 +135,7 @@ class BaseMeter:
if now is None:
now = time.time()
if (not self.last_update_time or
- (now >= self.last_update_time + self.update_period)):
+ (now >= self.last_update_time + self.update_period)):
self.re.update(amount_read, now)
self.last_amount_read = amount_read
self.last_update_time = now
--
2.17.2
More information about the virt-tools-list
mailing list