Skip to content
Snippets Groups Projects
Commit b34749995543 authored by Xavier Manach's avatar Xavier Manach
Browse files

if not xmlrpc_interface in config file, use localhost as hostname.

parent 5e2b9368145e
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,8 @@
tracker_base = context.get('tracker_base')
#### TODO hostbame_bu configuration with configure option menu.
hostname_bu=tools.config.get('xmlrpc_interface')
if not hostname_bu:
hostname_bu="localhost"
port_bu=tools.config.get('xmlrpc_port')
database_bu=cr.dbname
id_bu= "%s:%s/%s" % (hostname_bu,port_bu,database_bu)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment