12 Commits

Author SHA1 Message Date
Julian Oes
4b55c5276e px_romfs_pruner.py: fix indenting 2016-01-24 15:46:29 +01:00
Julian Oes
443592136b px_romfs_pruner.py: PEP8ify and whitespace
- Changed from 8 spaces indent back to 4 which I find appropriate for
  Python.
- Fixed linelength to 80 chars.
2016-01-24 15:46:29 +01:00
Julian Oes
6e26d1b8dc px_romfs_pruner.py: ignore files starting with . 2016-01-24 15:46:29 +01:00
tumbili
9b5b2a4ccc use correct Unix line ending character
Conflicts:
	Tools/px_romfs_pruner.py
2015-11-03 17:00:13 +01:00
skyworks_zyx
f297cf96f7 Ignore .DS_Store in the ROMFS pruner. 2015-10-27 19:23:02 +08:00
Thomas Gubler
2bbb1ad35f python3 fixes 2015-10-10 11:03:04 +02:00
Matthias Grob
5191731f22 make romfs pruner script windows compatible
When we open the file handle to write back the lines in binary mode, we don't change the line endings but instead leave them as they were before. This is impotant for Windows users as Python on Windows otherwise adds CRLF endings to the parameter files and they can't be correctly parsed by NuttX any more.
2015-10-01 09:59:30 +02:00
James Harrison
6ec338c23f Fix px_romfs_pruner.py to skip .data files
The .data extension was missing but used in some places; this would cause the pruner to fail with a UnicodeDecodeError.
2014-10-14 22:18:51 +01:00
Thomas Gubler
d5e463352d romfs pruner: fix filename check 2014-05-02 17:34:50 +02:00
Thomas Gubler
047dfc7714 romfs pruner: do not try to prune .swp files 2014-05-02 14:26:22 +02:00
Julian Oes
94c40b6fa4 ROMFS: only identify *.mix as mixer files 2014-02-17 09:06:35 +01:00
Julian Oes
a61a89f339 ROMFS: ignore comments and newlines in startup files, text in mixer files 2014-02-17 00:25:30 +01:00