From fa11c3f722afa059b447bbf0935d220481b2b441 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 4 Jan 2007 18:06:20 -0700 Subject: [PATCH] more pyflakes cleanups --- src/allmydata/encode_new.py | 5 ++--- src/allmydata/test/test_filetable_new.py | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/allmydata/encode_new.py b/src/allmydata/encode_new.py index 6c6aa3cd..3bd01f79 100644 --- a/src/allmydata/encode_new.py +++ b/src/allmydata/encode_new.py @@ -1,12 +1,11 @@ -#! /usr/bin/python +# -*- test-case-name: allmydata.test.test_encode -*- -import math from twisted.internet import defer from allmydata.chunk import HashTree, roundup_pow2 from Crypto.Cipher import AES import sha from allmydata.util import mathutil -from allmydata.util.assertutil import _assert, precondition +from allmydata.util.assertutil import precondition from allmydata.py_ecc import rs_code def hash(data): diff --git a/src/allmydata/test/test_filetable_new.py b/src/allmydata/test/test_filetable_new.py index 473050ca..5d0c2cf7 100644 --- a/src/allmydata/test/test_filetable_new.py +++ b/src/allmydata/test/test_filetable_new.py @@ -1,5 +1,4 @@ -import os from zope.interface import implements from twisted.trial import unittest from twisted.internet import defer -- 2.45.2