# HG changeset patch # User Todd Larsen # Date 1227318919 0 # Node ID d572b0fb6bfe664fcd4292afbf9f64a2c817de3e # Parent e14e9cf23097f46709789ad8bcb19561cdf4ef38 By default, exclude files that are likely to be binary files. Patch by: Todd Larsen diff -r e14e9cf23097 -r d572b0fb6bfe scripts/munge.py --- 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]'))