Commits

Michał Górny committed 3e78588

Fix handling of multiple USE_EXPAND tokens.

Comments (0)

Files changed (1)

lib/flaggie/makeconf.py

 
 		# Add disabled USE_EXPAND flags.
 		for t in reversed(self._flattokens):
-			if t.use_expanded:
+			if t.use_expanded in self._useexpanded:
 				for f in self._useexpanded.pop(t.use_expanded):
 					t.append('-%s' % f)
 				t.modified = False