projects
/
attachcheck
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor tweak to make the last patch actually land...
[attachcheck]
/
attachcheck
diff --git
a/attachcheck
b/attachcheck
index 86f110aeaa6cae27c3b2819fee42a77e997da699..19159e456b692c37944fc37af05bbaca6598bb8c 100755
(executable)
--- a/
attachcheck
+++ b/
attachcheck
@@
-34,11
+34,11
@@
ignored_types = ( "applica/pgp-signat", "application/pgp-signature" )
# list of regular expressions which we will view as being indicative
# of an attachment
# list of regular expressions which we will view as being indicative
# of an attachment
-attachment_regexes = [ r'
(?im)
\battach(ed|ment|ing)?\b',
- r'
(?im)
\balleg(o|at[oaie]|ando)' ]
+attachment_regexes = [ r'\battach(ed|ment|ing)?\b',
+ r'\balleg(o|at[oaie]|ando)' ]
# ignore quoted text (which might refer to attachments in previous emails)
# ignore quoted text (which might refer to attachments in previous emails)
-attachment_regexes = [ r'(^|^[^\n>].*)' + x for x in attachment_regexes ]
+attachment_regexes = [ r'(
?im)(
^|^[^\n>].*)' + x for x in attachment_regexes ]
### No Edit Below This Line
###########################################
### No Edit Below This Line
###########################################
Benjamin Mako Hill
||
Want to submit a patch?