[virt-tools-list] [virt-manager PATCH] pylint: remove a unnecessary pass

Chen Hanxiao chen_han_xiao at 126.com
Fri Dec 22 08:49:06 UTC 2017


From: Chen Hanxiao <chenhanxiao at gmail.com>

pylint complains:
  Unnecessary pass statement (unnecessary-pass)

Signed-off-by: Chen Hanxiao <chenhanxiao at gmail.com>
---
 virtManager/connection.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/virtManager/connection.py b/virtManager/connection.py
index 43fa3eb5..0574ac50 100644
--- a/virtManager/connection.py
+++ b/virtManager/connection.py
@@ -1443,7 +1443,6 @@ class vmmConnection(vmmGObject):
             raise
         except Exception as err:
             e = err
-            pass
 
         if e is None:
             return
-- 
2.14.3




More information about the virt-tools-list mailing list