summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/JobStatusDisplay.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/_emerge/JobStatusDisplay.py')
-rw-r--r--pym/_emerge/JobStatusDisplay.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/JobStatusDisplay.py b/pym/_emerge/JobStatusDisplay.py
index fbda727ee..1c80c5ffa 100644
--- a/pym/_emerge/JobStatusDisplay.py
+++ b/pym/_emerge/JobStatusDisplay.py
@@ -60,7 +60,7 @@ class JobStatusDisplay(object):
object.__setattr__(self, "_isatty", isatty)
if not isatty or not self._init_term():
term_codes = {}
- for k, capname in self._termcap_name_map.iteritems():
+ for k, capname in self._termcap_name_map.items():
term_codes[k] = self._default_term_codes[capname]
object.__setattr__(self, "_term_codes", term_codes)
encoding = sys.getdefaultencoding()
@@ -106,7 +106,7 @@ class JobStatusDisplay(object):
return False
term_codes = {}
- for k, capname in self._termcap_name_map.iteritems():
+ for k, capname in self._termcap_name_map.items():
code = tigetstr(capname)
if code is None:
code = self._default_term_codes[capname]