Mercurial > public > mercurial-scm > hg
comparison tests/run-tests.py @ 20504:c230dba66412
run-tests: remove unnecessary variable initialisation
ret is always set before it is used, so remove ret = 0
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Thu, 13 Feb 2014 07:29:28 +0100 |
parents | 1478a9ce6790 |
children | eca34583cd87 |
comparison
equal
deleted
inserted
replaced
20503:23dc77874191 | 20504:c230dba66412 |
---|---|
776 | 776 |
777 # Merge the script output back into a unified test | 777 # Merge the script output back into a unified test |
778 | 778 |
779 pos = -1 | 779 pos = -1 |
780 postout = [] | 780 postout = [] |
781 ret = 0 | |
782 for l in output: | 781 for l in output: |
783 lout, lcmd = l, None | 782 lout, lcmd = l, None |
784 if salt in l: | 783 if salt in l: |
785 lout, lcmd = l.split(salt, 1) | 784 lout, lcmd = l.split(salt, 1) |
786 | 785 |