Changeset 3518 for trunk/GSASIIpath.py


Ignore:
Timestamp:
Jul 30, 2018 5:56:20 PM (3 years ago)
Author:
toby
Message:

proxy/binary load fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpath.py

    r3513 r3518  
    167167    host = host.strip()
    168168    port = port.strip()
    169     if not host.strip(): return
     169    if not host: return
    170170    proxycmds.append('--config-option')
    171171    proxycmds.append('servers:global:http-proxy-host='+host)
    172     proxycmds.append('--config-option')
    173     proxycmds.append('servers:global:http-proxy-port='+port)
     172    if port:
     173        proxycmds.append('--config-option')
     174        proxycmds.append('servers:global:http-proxy-port='+port)
    174175       
    175176def whichsvn():
     
    577578    intVersionsList = sorted(versions.keys())
    578579    if not intVersionsList:
    579         print('No binaries located')
     580        print('No binaries located matching',bindir)
    580581        return
    581582    elif inpver < min(intVersionsList):
Note: See TracChangeset for help on using the changeset viewer.