Cleanup: non-Python semicolon infection.

This commit is contained in:
Tommi Virtanen 2011-07-11 13:21:36 -07:00
parent 21893e51b3
commit 99dcf267ea
2 changed files with 5 additions and 5 deletions

View file

@ -86,11 +86,11 @@ def setup():
# These 3 should always be present.
if 's3' not in config:
raise RuntimeError('Your config file is missing the s3 section!');
raise RuntimeError('Your config file is missing the s3 section!')
if 'defaults' not in config.s3:
raise RuntimeError('Your config file is missing the s3.defaults section!');
raise RuntimeError('Your config file is missing the s3.defaults section!')
if 'fixtures' not in config:
raise RuntimeError('Your config file is missing the fixtures section!');
raise RuntimeError('Your config file is missing the fixtures section!')
if config.fixtures.has_key('bucket prefix'):
template = config.fixtures['bucket prefix']

View file

@ -10,7 +10,7 @@ import sys
def parse_opts():
parser = OptionParser();
parser = OptionParser()
parser.add_option('-O', '--outfile', help='write output to FILE. Defaults to STDOUT', metavar='FILE')
parser.add_option('-b', '--bucket', dest='bucket', help='push objects to BUCKET', metavar='BUCKET')
parser.add_option('--seed', dest='seed', help='optional seed for the random number generator')
@ -73,7 +73,7 @@ def main():
Results are printed to the terminal and written in CSV format to
./siege.log
'''
(options, args) = parse_opts();
(options, args) = parse_opts()
#SETUP
random.seed(options.seed if options.seed else None)