Ignore:
Timestamp:
23/11/09 11:11:43 (10 years ago)
Author:
aharwood
Message:

Port number can now be specified in exist configuration file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ndgCommon/trunk/ndg/common/src/lib/utilities.py

    r5296 r6037  
    8989        if not line: 
    9090            continue 
    91         host,userid,password=line.split(' ') 
    92         data = (userid, password, host) 
     91        host,userid,password,port=line.split(' ') 
     92        port = int(port) 
     93        data = (userid, password, host, port) 
    9394        if not dbName or dbName == host: 
    9495            f.close() 
     
    9798 
    9899    raise ValueError('Unable to find valid eXist config data') 
    99  
    100100 
    101101def getDefaultProxy(url): 
Note: See TracChangeset for help on using the changeset viewer.