summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/update.py b/pym/portage/update.py
index af0fd2f42..3df7b08f3 100644
--- a/pym/portage/update.py
+++ b/pym/portage/update.py
@@ -206,7 +206,7 @@ def update_config_files(config_root, protect, protect_mask, update_iter):
encoding=_encodings['fs'], errors='strict')
except UnicodeDecodeError:
continue
- for y_enc in dirs:
+ for y_enc in list(dirs):
try:
y = _unicode_decode(y_enc,
encoding=_encodings['fs'], errors='strict')