[PATCH 3/4] Use dict.items() instead of dict.iteritems()
Vratislav Podzimek
vpodzime at redhat.com
Mon Dec 8 09:35:46 UTC 2014
Because of Python3 compatibility.
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
meh/handler.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meh/handler.py b/meh/handler.py
index 4d98c45..9363304 100644
--- a/meh/handler.py
+++ b/meh/handler.py
@@ -264,7 +264,7 @@ class ExceptionHandler(object):
params[tb_item_name] = self.exnText
# save data generated by callbacks
- for (item_name, (callback, _anc)) in self.conf.callbackDict.iteritems():
+ for (item_name, (callback, _anc)) in self.conf.callbackDict.items():
try:
ret = callback()
if ret:
--
1.9.3
More information about the anaconda-patches
mailing list