Mercurial > hg
comparison tests/run-tests.py @ 17739:5b08e8b7ab00
run-tests: drop unused enumerate
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 10 Oct 2012 01:30:45 +0200 |
parents | 3e3dfa7e6864 |
children | a51304b851c6 |
comparison
equal
deleted
inserted
replaced
17738:b8424c92ba2b | 17739:5b08e8b7ab00 |
---|---|
682 # Merge the script output back into a unified test | 682 # Merge the script output back into a unified test |
683 | 683 |
684 pos = -1 | 684 pos = -1 |
685 postout = [] | 685 postout = [] |
686 ret = 0 | 686 ret = 0 |
687 for n, l in enumerate(output): | 687 for l in output: |
688 lout, lcmd = l, None | 688 lout, lcmd = l, None |
689 if salt in l: | 689 if salt in l: |
690 lout, lcmd = l.split(salt, 1) | 690 lout, lcmd = l.split(salt, 1) |
691 | 691 |
692 if lout: | 692 if lout: |