diff options
Diffstat (limited to 'extras/failed-tests.py')
| -rwxr-xr-x | extras/failed-tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/failed-tests.py b/extras/failed-tests.py index 1ef1a954f4f..f7f110246b5 100755 --- a/extras/failed-tests.py +++ b/extras/failed-tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/python3 from __future__ import print_function import blessings @@ -74,7 +74,7 @@ def print_summary(failed_builds, total_builds, html=False): count[template], {'failed': failed_builds, 'total': total_builds} )) - for k, v in summary.iteritems(): + for k, v in summary.items(): if k == 'core': print(''.join([TERM.red, "Found cores:", TERM.normal])) for comp, link in zip(v[::2], v[1::2]): @@ -98,7 +98,7 @@ def get_summary(cut_off_date, reg_link): ''' success_count = 0 failure_count = 0 - for page in xrange(0, MAX_BUILDS, 100): + for page in range(0, MAX_BUILDS, 100): build_info = requests.get(''.join([ BASE, reg_link, |
