Minor code formatting changes

This commit is contained in:
Strahinja Val Markovic 2013-09-25 11:12:34 -07:00
parent 5b4b3ed281
commit 13b86563f0

View File

@ -152,14 +152,14 @@ def Main():
global LOGGER global LOGGER
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument( '--host', type = str, default = 'localhost', parser.add_argument( '--host', type = str, default = 'localhost',
help='server hostname') help = 'server hostname')
parser.add_argument( '--port', type = int, default = 6666, parser.add_argument( '--port', type = int, default = 6666,
help='server port') help = 'server port')
parser.add_argument( '--log', type = str, default = 'info', parser.add_argument( '--log', type = str, default = 'info',
help='log level, one of ' help = 'log level, one of '
'[debug|info|warning|error|critical]') '[debug|info|warning|error|critical]' )
parser.add_argument( '--options_file', type = str, default = '', parser.add_argument( '--options_file', type = str, default = '',
help='file with user options, in JSON format') help = 'file with user options, in JSON format' )
args = parser.parse_args() args = parser.parse_args()
if args.options_file: if args.options_file: