diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2016-08-09 00:48:53 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2016-08-09 00:51:45 +0300 |
commit | 07cdf4137c64560af27c37fcc099c96d6f606fde (patch) | |
tree | 8597d8f1fc4eec6cc97db1376fcb3cb863e4e885 /scripts/ci/babysitter | |
parent | 5fe8bfae7de7168a5061269b8fcf1afed0c7c0a0 (diff) |
[ci] Python3 fix in babysitter script
iteritems() was removed in py3, we can just use items() instead since we're iterating
over the list anyway so we don't need the lazy evaluation behavior of iteritems().
Diffstat (limited to 'scripts/ci/babysitter')
-rwxr-xr-x | scripts/ci/babysitter | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ci/babysitter b/scripts/ci/babysitter index f4babca6178..2d3cede04ea 100755 --- a/scripts/ci/babysitter +++ b/scripts/ci/babysitter @@ -166,7 +166,7 @@ def parse_duration(duration): # Accept units def parse_signal(sig): # Accept names if sig.isdigit(): return int(sig) - for k,v in signal.__dict__.iteritems(): + for k,v in signal.__dict__.items(): if k == ("SIG%s" % sig): return v argparser.error("Could not understand signal name %s" % sig) |