config: skip unneeded constructor code for clones
authorZac Medico <zmedico@gentoo.org>
Sat, 10 Dec 2011 22:19:31 +0000 (14:19 -0800)
committerZac Medico <zmedico@gentoo.org>
Sat, 10 Dec 2011 22:19:31 +0000 (14:19 -0800)
pym/portage/package/ebuild/config.py

index a8ec3c47f47200b8ba63bade29824e22e5cccf02..7fb4ff0962996611dc34579d16609c1280d9b5fc 100644 (file)
@@ -784,10 +784,10 @@ class config(object):
 
                        self._validate_commands()
 
-               for k in self._case_insensitive_vars:
-                       if k in self:
-                               self[k] = self[k].lower()
-                               self.backup_changes(k)
+                       for k in self._case_insensitive_vars:
+                               if k in self:
+                                       self[k] = self[k].lower()
+                                       self.backup_changes(k)
 
                if mycpv:
                        self.setcpv(mycpv)