Mercurial > hg-stable
view tests/test-check-pyflakes.t @ 15158:7ce7177e029a stable
patch: correctly handle non-tabular Subject: line
The line content of continued Subject: lines was yet joined via
str.replace('\n\t', ' '), which does not handle continuation via
spaces. So expan the regular expression instead to
handle all allowed forms of mail header line continuation.
author | Steffen Daode Nurpmeso <sdaoden@googlemail.com> |
---|---|
date | Tue, 27 Sep 2011 18:41:09 -0500 |
parents | bdf44e63a94c |
children | 4e7e63fc685a |
line wrap: on
line source
$ "$TESTDIR/hghave" pyflakes || exit 80 $ cd $(dirname $TESTDIR) $ pyflakes mercurial hgext 2>&1 | $TESTDIR/filterpyflakes.py mercurial/hgweb/server.py:*: 'activeCount' imported but unused (glob) mercurial/commands.py:*: 'base85' imported but unused (glob) mercurial/commands.py:*: 'bdiff' imported but unused (glob) mercurial/commands.py:*: 'mpatch' imported but unused (glob) mercurial/commands.py:*: 'osutil' imported but unused (glob) hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob) mercurial/util.py:*: 'from posix import *' used; unable to detect undefined names (glob) mercurial/windows.py:*: 'from win32 import *' used; unable to detect undefined names (glob) mercurial/util.py:*: 'from windows import *' used; unable to detect undefined names (glob)