diff options
author | Sastry Isukapalli <sastry@research.att.com> | 2018-03-07 22:00:20 -0500 |
---|---|---|
committer | Sastry Isukapalli <sastry@research.att.com> | 2018-03-07 22:15:02 -0500 |
commit | 356b52c79dc56b97d910211272c7bdbef80b884a (patch) | |
tree | 2bc08c2908648d743624ea68ea26f45d0b479e66 /osdfapp.py | |
parent | 422df2fa5f10ea14352b1a319ee7764d704d6050 (diff) |
getOptions renamed in osdfapp.py and tests
Issue-ID: OPTFRA-102
Change-Id: Idf0a61ff837ecd26577febaca5f0538971759792
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
Diffstat (limited to 'osdfapp.py')
-rwxr-xr-x | osdfapp.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -128,7 +128,7 @@ def internal_failure(error): return response -def getOptions(argv): +def get_options(argv): program_version_string = '%%prog %s' % ("v1.0") program_longdesc = "" program_license = "" @@ -152,11 +152,11 @@ if __name__ == "__main__": ports = sys_conf['osdf_ports'] internal_port, external_port = ports['internal'], ports['external'] ssl_context = tuple(sys_conf['ssl_context']) - local_host = "0.0.0.0" + local_host = "0.0.0.0" # NOSONAR common_app_opts = dict(host=local_host, threaded=True, use_reloader=False) - opts = getOptions(sys.argv) + opts = get_options(sys.argv) if (not opts.local and not opts.devtest): # normal deployment app.run(port=internal_port, ssl_context=ssl_context, debug=False, **common_app_opts) else: |