From 4830c53e94c55c2510d6425d6afb5766416cac91 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 15 Sep 2006 03:12:26 +0000 Subject: [PATCH] Move all env.d file name filtering into a single loop. svn path=/main/trunk/; revision=4451 --- pym/portage.py | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pym/portage.py b/pym/portage.py index 537850699..93ee33c04 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -463,15 +463,17 @@ def env_update(makelinks=1, target_root=None, prev_mtimes=None): portage_util.ensure_dirs(envd_dir, mode=0755) fns = listdir(envd_dir, EmptyOnError=1) fns.sort() - pos=0 - while (pos