python/samba/netcmd/schema.py: add schema show_oc for attribute
[kai/samba-autobuild/.git] / selftest / subunithelper.py
index 9755f926d4ff1b48bf1d75fc1b29cee0029b3872..f20f3fe8ba735216171190444527223feea8a359 100644 (file)
@@ -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 ""