pep8 compliance for launcher script

This commit is contained in:
kakwa 2015-07-13 10:23:34 +02:00
parent 53e4159ec9
commit 5a61868562
1 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,8 @@ if __name__ == '__main__':
p.add_option('-e', '--environment', dest='environment', default=None,
help="apply the given config environment")
p.add_option('-f', action="store_true", dest='fastcgi',
help="start a fastcgi server instead of the default HTTP server")
help="start a fastcgi server instead"
" of the default HTTP server")
p.add_option('-s', action="store_true", dest='scgi',
help="start a scgi server instead of the default HTTP server")
p.add_option('-x', action="store_true", dest='cgi',
@ -132,10 +133,9 @@ if __name__ == '__main__':
exit(1)
if not os.path.isfile(options.config):
print('configuration file "'+ options.config + '" doesn\'t exist' )
print('configuration file "' + options.config + '" doesn\'t exist')
exit(1)
start(options.config, options.daemonize,
options.environment, options.fastcgi, options.scgi,
options.pidfile, options.cgi)