run-tests: remove unnecessary variable initialisation stable
authorSimon Heimberg <simohe@besonet.ch>
Thu, 13 Feb 2014 07:29:28 +0100
branchstable
changeset 1334 2ff0ff8404a5
parent 1332 e307d04d3c4d
child 1335 d15090c7d555
run-tests: remove unnecessary variable initialisation ret is always set before it is used, so remove ret = 0 [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Wed Feb 12 16:09:18 2014 +0100
+++ b/tests/run-tests.py	Thu Feb 13 07:29:28 2014 +0100
@@ -778,7 +778,6 @@
 
     pos = -1
     postout = []
-    ret = 0
     for l in output:
         lout, lcmd = l, None
         if salt in l: