Ignore:
Timestamp:
Mar 6, 2020 5:17:15 PM (21 months ago)
Author:
toby
Message:

implement additional proxy access (documented in https://subversion.xray.aps.anl.gov/trac/pyGSAS/wiki/ProxyInfo)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4334 r4346  
    21232123        '''Edit the proxy information used by subversion
    21242124        '''
    2125         h,p = host,port = GSASIIpath.getsvnProxy()
     2125        h,p,e = host,port,etc = GSASIIpath.getsvnProxy()
     2126        if e:
     2127            proxyinfo = os.path.join(GSASIIpath.path2GSAS2,"proxyinfo.txt")
     2128            G2G.G2MessageBox(self,'File {} has manually-'.format(proxyinfo)+
     2129                'entered information. Please edit this by hand',
     2130                                 'Unable to edit')
     2131            return
    21262132        dlg = G2G.MultiStringDialog(self,'Enter proxy values',
    21272133                                        ['Proxy address','proxy port'],
    21282134                                        [host,port],size=300)
    2129         #dlg.SetSize((300,-1))
    21302135        if dlg.Show():
    21312136            h,p = dlg.GetValues()
Note: See TracChangeset for help on using the changeset viewer.