Show More
@@ -1852,6 +1852,7 b' def debuginstall(ui):' | |||
|
1852 | 1852 | % os.path.dirname(__file__)) |
|
1853 | 1853 | try: |
|
1854 | 1854 | import bdiff, mpatch, base85, osutil |
|
1855 | dir(bdiff), dir(mpatch), dir(base85), dir(osutil) # quiet pyflakes | |
|
1855 | 1856 | except Exception, inst: |
|
1856 | 1857 | ui.write(" %s\n" % inst) |
|
1857 | 1858 | ui.write(_(" One or more extensions could not be found")) |
@@ -246,6 +246,7 b' class _httprequesthandlerssl(_httpreques' | |||
|
246 | 246 | |
|
247 | 247 | try: |
|
248 | 248 | from threading import activeCount |
|
249 | activeCount() # silence pyflakes | |
|
249 | 250 | _mixin = SocketServer.ThreadingMixIn |
|
250 | 251 | except ImportError: |
|
251 | 252 | if util.safehasattr(os, "fork"): |
@@ -1,11 +1,6 b'' | |||
|
1 | 1 | $ "$TESTDIR/hghave" pyflakes || exit 80 |
|
2 | 2 | $ cd $(dirname $TESTDIR) |
|
3 | 3 | $ pyflakes mercurial hgext 2>&1 | $TESTDIR/filterpyflakes.py |
|
4 | mercurial/hgweb/server.py:*: 'activeCount' imported but unused (glob) | |
|
5 | mercurial/commands.py:*: 'base85' imported but unused (glob) | |
|
6 | mercurial/commands.py:*: 'bdiff' imported but unused (glob) | |
|
7 | mercurial/commands.py:*: 'mpatch' imported but unused (glob) | |
|
8 | mercurial/commands.py:*: 'osutil' imported but unused (glob) | |
|
9 | 4 | hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob) |
|
10 | 5 | |
|
11 | 6 |
General Comments 0
You need to be logged in to leave comments.
Login now