remove unused variable

This commit is contained in:
Stephon Striplin 2011-07-11 14:56:32 -07:00
parent 83830e2951
commit e253e328a7

View file

@ -240,9 +240,8 @@ def test_bucket_delete_nonempty():
bucket = get_new_bucket() bucket = get_new_bucket()
# fill up bucket # fill up bucket
obj = bunch.Bunch() key = bucket.new_key('foo')
obj.a = bucket.new_key('foo') key.set_contents_from_string('foocontent')
obj.a.set_contents_from_string('foocontent')
# try to delete # try to delete
e = assert_raises(boto.exception.S3ResponseError, bucket.delete) e = assert_raises(boto.exception.S3ResponseError, bucket.delete)