1. Michał Górny
  2. flaggie

Commits

Michał Górny  committed 58adf8a

Don't drop empty but unmodified package.* file entries.

  • Participants
  • Parent commits 1018a89
  • Branches master

Comments (0)

Files changed (1)

File lib/flaggie/packagefile.py

View file
  • Ignore whitespace
 
 			f = codecs.open(self.path, 'w', 'utf8')
 			for l in self:
-				if l:
+				if not l.modified or l:
 					f.write(l.toString())
 			f.close()