Subversion Repositories SmartDukaan

Rev

Rev 412 | Rev 1248 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 412 Rev 755
Line 16... Line 16...
16
 
16
 
17
def main():
17
def main():
18
    #get the config client
18
    #get the config client
19
    try:
19
    try:
20
        config_client = ConfigClient()
20
        config_client = ConfigClient()
21
        host_name = config_client.get_property('logistics_service_hostname')
21
        host_name = config_client.get_property('logistics_service_server_host')
22
        port = config_client.get_property('logistics_service_port')
22
        port = config_client.get_property('logistics_service_server_port')
23
        pass
23
        pass
24
    except:
24
    except:
25
        #error while spawning the config server
25
        #error while spawning the config server
26
        host_name = 'localhost'
26
        host_name = 'localhost'
27
        port = '9011'
27
        port = '9011'