Don't limit the size of USE in config.load_infodir.
authorZac Medico <zmedico@gentoo.org>
Sun, 22 Oct 2006 20:43:20 +0000 (20:43 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 22 Oct 2006 20:43:20 +0000 (20:43 -0000)
svn path=/main/trunk/; revision=4802

pym/portage.py

index 94de3fc0285c70e25001a3d1829927332a583363..616df7e7b20db0329736015e5ff1bd063d63b4d6 100644 (file)
@@ -1495,7 +1495,7 @@ class config:
                                if myre.match(filename):
                                        try:
                                                mydata = string.strip(open(infodir+"/"+filename).read())
-                                               if len(mydata)<2048:
+                                               if len(mydata) < 2048 or filename == "USE":
                                                        if filename == "USE":
                                                                binpkg_flags = "-* " + mydata
                                                                self.configdict["pkg"][filename] = binpkg_flags