From 1545190b691f53dc87f49444a2e57488ec02e2c5 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sat, 15 Sep 2007 15:07:21 -0700 Subject: [PATCH] hush some pyflakes warnings --- misc/dependencies/build-deps-setup.py | 2 +- misc/make-version.py | 2 -- misc/sizes.py | 2 +- misc/storage-overhead.py | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) 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 -- 2.45.2