From e253e328a78c7509edfefb285cfb42dc0180b479 Mon Sep 17 00:00:00 2001 From: Stephon Striplin Date: Mon, 11 Jul 2011 14:56:32 -0700 Subject: [PATCH] remove unused variable --- test_s3.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test_s3.py b/test_s3.py index 462cd78..2305390 100644 --- a/test_s3.py +++ b/test_s3.py @@ -240,9 +240,8 @@ def test_bucket_delete_nonempty(): bucket = get_new_bucket() # fill up bucket - obj = bunch.Bunch() - obj.a = bucket.new_key('foo') - obj.a.set_contents_from_string('foocontent') + key = bucket.new_key('foo') + key.set_contents_from_string('foocontent') # try to delete e = assert_raises(boto.exception.S3ResponseError, bucket.delete)