[elbe-devel] [PATCH 10/75] commands check_updates: Fix Pylint

Olivier Dion dion at linutronix.de
Mon May 25 17:42:03 CEST 2020


91:8: W0612: (unused-variable)

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 elbepack/commands/check_updates.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/elbepack/commands/check_updates.py b/elbepack/commands/check_updates.py
index 4ae9e6d0..c0bd1d46 100644
--- a/elbepack/commands/check_updates.py
+++ b/elbepack/commands/check_updates.py
@@ -88,7 +88,6 @@ def run_command(argv):
 
     for p in fullp:
         pname = p.et.text
-        pver = p.et.get('version')
         pauto = p.et.get('auto')
 
         if pauto != "true":
@@ -102,7 +101,6 @@ def run_command(argv):
     for p in fullp:
         xp = XMLPackage(p, arch)
         pname = p.et.text
-        pver = p.et.get('version')
         pauto = p.et.get('auto')
 
         if not v.has_pkg(xp.name):
-- 
2.26.2




More information about the elbe-devel mailing list