OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
3 # Copyright (c) 2006,2007 Mitch Garnaat http://garnaat.org/ | 3 # Copyright (c) 2006,2007 Mitch Garnaat http://garnaat.org/ |
4 # | 4 # |
5 # Permission is hereby granted, free of charge, to any person obtaining a | 5 # Permission is hereby granted, free of charge, to any person obtaining a |
6 # copy of this software and associated documentation files (the | 6 # copy of this software and associated documentation files (the |
7 # "Software"), to deal in the Software without restriction, including | 7 # "Software"), to deal in the Software without restriction, including |
8 # without limitation the rights to use, copy, modify, merge, publish, dis- | 8 # without limitation the rights to use, copy, modify, merge, publish, dis- |
9 # tribute, sublicense, and/or sell copies of the Software, and to permit | 9 # tribute, sublicense, and/or sell copies of the Software, and to permit |
10 # persons to whom the Software is furnished to do so, subject to the fol- | 10 # persons to whom the Software is furnished to do so, subject to the fol- |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 except S3PermissionsError: | 168 except S3PermissionsError: |
169 pass | 169 pass |
170 # now delete all keys in bucket | 170 # now delete all keys in bucket |
171 for k in all: | 171 for k in all: |
172 bucket.delete_key(k, headers=DEVPAY_HEADERS) | 172 bucket.delete_key(k, headers=DEVPAY_HEADERS) |
173 # now delete bucket | 173 # now delete bucket |
174 | 174 |
175 c.delete_bucket(bucket, headers=DEVPAY_HEADERS) | 175 c.delete_bucket(bucket, headers=DEVPAY_HEADERS) |
176 | 176 |
177 print '--- tests completed ---' | 177 print '--- tests completed ---' |
OLD | NEW |