Commits

Michał Górny  committed fb65356

Fix undefined PackageFile.trailing_whitespace.

  • Participants
  • Parent commits 0d05f6c

Comments (0)

Files changed (1)

File lib/flaggie/packagefile.py

 			# _modified is for when items are removed
 			self._modified = False
 			if not os.path.exists(path):
+				self.trailing_whitespace = []
 				return
 			f = codecs.open(path, 'r', 'utf8')