Blame SOURCES/0009-replace-iteritems-with-items.patch

1070a0
From a2dba086cd78ac54b0366d328a64b6e48e9dc422 Mon Sep 17 00:00:00 2001
1070a0
From: Tomas Kasparek <tkasparek@redhat.com>
1070a0
Date: Mon, 5 Mar 2018 11:35:59 +0100
1070a0
Subject: [PATCH 09/17] replace iteritems with items
1070a0
1070a0
---
1070a0
 koan/app.py | 2 +-
1070a0
 1 file changed, 1 insertion(+), 1 deletion(-)
1070a0
1070a0
diff --git a/koan/app.py b/koan/app.py
1070a0
index e727932..ac6b0df 100755
1070a0
--- a/koan/app.py
1070a0
+++ b/koan/app.py
1070a0
@@ -426,7 +426,7 @@ class Koan:
1070a0
         systems = self.get_data("systems")
1070a0
         for system in systems:
1070a0
             obj_name = system["name"]
1070a0
-            for (obj_iname, obj_interface) in system['interfaces'].iteritems():
1070a0
+            for (obj_iname, obj_interface) in system['interfaces'].items():
1070a0
                 mac = obj_interface["mac_address"].upper()
1070a0
                 ip  = obj_interface["ip_address"].upper()
1070a0
                 for my_mac in mac_criteria:
1070a0
-- 
1070a0
2.5.5
1070a0