mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-25 13:47:27 +00:00
Cleanup: new-style raise.
This commit is contained in:
parent
99dcf267ea
commit
016febc40a
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ def setup():
|
||||||
template = 'test-{random}-'
|
template = 'test-{random}-'
|
||||||
prefix = choose_bucket_prefix(template=template)
|
prefix = choose_bucket_prefix(template=template)
|
||||||
if prefix == '':
|
if prefix == '':
|
||||||
raise RuntimeError, "Empty Prefix! Aborting!"
|
raise RuntimeError("Empty Prefix! Aborting!")
|
||||||
|
|
||||||
defaults = config.s3.defaults
|
defaults = config.s3.defaults
|
||||||
for section in config.s3.keys():
|
for section in config.s3.keys():
|
||||||
|
|
Loading…
Reference in a new issue