Explicitly set target: in per-target spec values
authorAndrew Gaffney <agaffney@gentoo.org>
Sat, 4 Apr 2009 22:32:03 +0000 (17:32 -0500)
committerAndrew Gaffney <agaffney@gentoo.org>
Sat, 4 Apr 2009 22:32:03 +0000 (17:32 -0500)
ChangeLog
modules/catalyst/config.py

index b47108633644cb570dd615f94298908bd95d4dd1..7140a80c77896f024e63c072ec1fc12817b29f84 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 2002-2009 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
 # Distributed under the GPL v2
 
+  04 Apr 2009; Andrew Gaffney <agaffney@gentoo.org>
+  modules/catalyst/config.py:
+  Explicitly set target: in per-target spec values
+
   04 Apr 2009; Andrew Gaffney <agaffney@gentoo.org>
   modules/catalyst/arch/arm.py:
   Apply additional patch from gentoo bug #255793 for arm subarches
index ba00de1b8246be66694d31abc060806743d9a1d2..212520a2e99c18699c829477a887d2b46561f6db 100644 (file)
@@ -169,9 +169,10 @@ class Spec:
                self.target = target
 
        def get_values(self, target=None):
+               tmp = self.values['global']
                if target is None:
                        target = self.target
-               tmp = self.values['global']
+                       tmp['target'] = target
                if target in self.values:
                        tmp.update(self.values[target])
                return tmp