From: Brian Warner Date: Sat, 15 Sep 2007 22:07:21 +0000 (-0700) Subject: hush some pyflakes warnings X-Git-Tag: allmydata-tahoe-0.6.0~98 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/index.php?a=commitdiff_plain;h=1545190b691f53dc87f49444a2e57488ec02e2c5;p=tahoe-lafs%2Ftahoe-lafs.git hush some pyflakes warnings --- diff --git a/misc/dependencies/build-deps-setup.py b/misc/dependencies/build-deps-setup.py index d9692b9d..ed8d80e1 100644 --- a/misc/dependencies/build-deps-setup.py +++ b/misc/dependencies/build-deps-setup.py @@ -2,7 +2,7 @@ # N.B.: this expects to run from the top of the source tree -import os, sys +import sys from ez_setup import use_setuptools if 'cygwin' in sys.platform.lower(): min_version='0.6c6' diff --git a/misc/make-version.py b/misc/make-version.py index 5679ce3e..a87cfd89 100644 --- a/misc/make-version.py +++ b/misc/make-version.py @@ -1,7 +1,5 @@ #! /usr/bin/env python -import os, sys - """ Create _version.py, based upon the latest darcs release tag. diff --git a/misc/sizes.py b/misc/sizes.py index 5b2c0328..a101538f 100644 --- a/misc/sizes.py +++ b/misc/sizes.py @@ -1,6 +1,6 @@ #! /usr/bin/env python -import random, math, os, re +import random, math, re from twisted.python import usage class Args(usage.Options): diff --git a/misc/storage-overhead.py b/misc/storage-overhead.py index 76d8b97d..f5495dd1 100644 --- a/misc/storage-overhead.py +++ b/misc/storage-overhead.py @@ -1,7 +1,6 @@ #! /usr/bin/python import sys, math -from cStringIO import StringIO from allmydata import upload, uri, encode, storage from allmydata.util import mathutil