From c4f820fcf0f896ead27a62d1c96a3022a313e8d0 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Fri, 10 Jun 2011 11:05:34 -0700 Subject: [PATCH] Remove old rgw bug workaround. test_bucket_delete_nonowner says rgw works right now. --- test_s3.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test_s3.py b/test_s3.py index bed1c8c..256c660 100644 --- a/test_s3.py +++ b/test_s3.py @@ -65,12 +65,6 @@ def nuke_prefixed_buckets(): key.delete() bucket.delete() except boto.exception.S3ResponseError as e: - # TODO workaround for buggy rgw that fails to send - # error_code, remove - if (e.status == 403 - and e.error_code is None - and e.body == ''): - e.error_code = 'AccessDenied' if e.error_code != 'AccessDenied': print 'GOT UNWANTED ERROR', e.error_code raise