[elbe-devel] [PATCH 08/25] pylint: initvmaction: remove unnecessary parenthesis

Torben Hohn torben.hohn at linutronix.de
Wed Aug 22 10:42:09 CEST 2018


pylint complains:
elbepack/initvmaction.py:179: [C0325(superfluous-parens), ] Unnecessary parens after 'while' keyword

fix it by removing parenthesis.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/initvmaction.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/initvmaction.py b/elbepack/initvmaction.py
index 20a9cb62..73cd55ae 100644
--- a/elbepack/initvmaction.py
+++ b/elbepack/initvmaction.py
@@ -177,7 +177,7 @@ class StopAction(InitVMAction):
             print('Initvm is not running.')
             sys.exit(20)
         else:
-            while(True):
+            while True:
                 try:
                     self.initvm.shutdown()
                 except libvirt.libvirtError as e:
-- 
2.11.0




More information about the elbe-devel mailing list