Commits

Michał Górny committed 0d05f6c

Don't transform unmodified package.keywords entries into shortcuts.

  • Participants
  • Parent commits c345574

Comments (0)

Files changed (1)

lib/flaggie/packagefile.py

 
 		for f in self.files:
 			for e in f:
-				if set([x.toString() for x in e.flags]) == self._defkw:
+				if e.modified and set([x.toString() for x in e.flags]) == self._defkw:
 					# Yeah, that's what it looks like -- a workaround.
 					e.as_str = e.package + '\n'
 					e.modified = False