From: david-sarah Date: Sat, 22 Jan 2011 02:07:52 +0000 (-0800) Subject: Makefile, setup.py: add more source files to pyflakes target and fix their warnings. X-Git-Tag: allmydata-tahoe-1.8.2b1~8 X-Git-Url: https://git.rkrishnan.org/specifications/webapi.txt?a=commitdiff_plain;h=3c161c9a96dd09fe49f8090685b1641571d06836;p=tahoe-lafs%2Ftahoe-lafs.git Makefile, setup.py: add more source files to pyflakes target and fix their warnings. --- diff --git a/Makefile b/Makefile index c575ac5c..52f45b3e 100644 --- a/Makefile +++ b/Makefile @@ -157,7 +157,7 @@ endif pyflakes: - $(PYTHON) -OOu `which pyflakes` src/allmydata static misc/build_helpers bin/tahoe-script.template |sort |uniq + $(PYTHON) -OOu `which pyflakes` src/allmydata static misc/build_helpers bin/tahoe-script.template twisted setup.py |sort |uniq check-umids: $(PYTHON) misc/coding_tools/check-umids.py `find src/allmydata -name '*.py'` diff --git a/setup.py b/setup.py index 786858e3..cd20d9d9 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ # # See the docs/about.html file for licensing information. -import glob, os, shutil, stat, subprocess, sys, zipfile, re +import glob, os, stat, subprocess, sys, re ##### sys.path management