summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-04-11 10:32:06 +1200
committerDouglas Bagnall <dbagnall@samba.org>2018-04-13 07:27:12 +0200
commitf3b52875388da6e064567621a53e9ccb508dc6d5 (patch)
tree1a6cf17023f0e6a9c98bc80c18417191e403efd8 /selftest
parent6716971ce1b023affc2503b72e83c22581faf64a (diff)
downloadsamba-f3b52875388da6e064567621a53e9ccb508dc6d5.tar.gz
python: bulk replace dict.iteritems to items for py3
In py3, iterxxx methods are removed. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'selftest')
-rw-r--r--selftest/subunithelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/subunithelper.py b/selftest/subunithelper.py
index 9755f926d4f..f20f3fe8ba7 100644
--- a/selftest/subunithelper.py
+++ b/selftest/subunithelper.py
@@ -262,7 +262,7 @@ def read_test_regexes(*names):
def find_in_list(regexes, fullname):
- for regex, reason in regexes.iteritems():
+ for regex, reason in regexes.items():
if re.match(regex, fullname):
if reason is None:
return ""