By default, exclude files that are likely to be binary files.
Patch by: Todd Larsen
--- a/scripts/munge.py Sat Nov 22 00:23:10 2008 +0000
+++ b/scripts/munge.py Sat Nov 22 01:55:19 2008 +0000
@@ -378,7 +378,8 @@
'Options used to select which files to process.')
filter_group.add_option(
- '-f', '--files', dest='files_pattern', default='^.*$',
+ '-f', '--files', dest='files_pattern',
+ default='(?!^.*\.pyc|.*\.ico|.*\.gif|.*\.png|.*\.jpg$)',
metavar='FILES_REGEX',
help=('Python regex pattern (*not* a glob!) defining files to process'
' in each directory [default: %default]'))