Cleanup: new-style raise.

This commit is contained in:
Tommi Virtanen 2011-07-11 13:22:19 -07:00
parent 99dcf267ea
commit 016febc40a

View file

@ -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():