Commits

Michał Górny committed f2f6eb2

Fix writing new USE= with USE expansions enabled.

Now the variable won't contain USE expansion flags.

Fixes: https://bugs.gentoo.org/show_bug.cgi?id=385123

Comments (0)

Files changed (1)

lib/flaggie/makeconf.py

 							out.append(nl)
 
 					out.append(self.MakeConfFile.UnquotedWord('%s=' % nv.key))
-					out.extend(list(nv))
+					out.extend([t for t in nv if not t.use_expanded])
 					out.append(nl)
 
 					self.masterfile.extend(out)