Mercurial > kallithea
changeset 6061:ab29e4c39550
whitespacecleanup: exclude email test reference
kallithea/tests/models/test_dump_html_mails.ref.html is expected to
contain trailing whitespace in the "-- " de-facto standard signature
separator (as e.g. referenced in RFC 3676, section 4.3).
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Thu, 28 Jul 2016 13:30:44 +0200 |
parents | 40edadecda69 |
children | 1952682be9f8 |
files | scripts/whitespacecleanup.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/whitespacecleanup.sh Thu Jul 28 13:41:28 2016 +0200 +++ b/scripts/whitespacecleanup.sh Thu Jul 28 13:30:44 2016 +0200 @@ -2,7 +2,7 @@ # Enforce some consistency in whitespace - just to avoid spurious whitespaces changes -files=`hg loc '*.py' '*.html' '*.css' '*.rst' '*.txt' '*.js' '*.ini' '*.cfg' CONTRIBUTORS LICENSE.md | egrep -v '/lockfiles.py|LICENSE-MERGELY.html|/codemirror/|/fontello/|(graph|mergely|native.history|select2/select2|yui.flot|yui.2.9|jquery.dataTables)\.js$'` +files=`hg loc '*.py' '*.html' '*.css' '*.rst' '*.txt' '*.js' '*.ini' '*.cfg' CONTRIBUTORS LICENSE.md | egrep -v '/lockfiles.py|LICENSE-MERGELY.html|/codemirror/|/fontello/|(graph|mergely|native.history|select2/select2|yui.flot|yui.2.9|jquery.dataTables)\.js$|test_dump_html_mails.ref.html'` sed -i -e "s,`printf '\t'`, ,g" $files sed -i -e "s, *$,,g" $files