Changeset 6815


Ignore:
Timestamp:
Apr 16, 2009, 8:01:36 AM (16 years ago)
Author:
rwilson
Message:

Made cosmetic changes to proxy information prompts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy/anuga/utilities/system_tools.py

    r6810 r6815  
    410410        print ('You need to supply proxy authentication information.')
    411411        if httpproxy is None:
    412             httpproxy = raw_input('  proxy server: ')
     412            httpproxy = raw_input('                    proxy server: ')
     413        else:
     414            print '         HTTP proxy was supplied: %s' % httpproxy
    413415        if proxyuser is None:
    414             proxyuser = raw_input('proxy username: ')
     416            proxyuser = raw_input('                  proxy username: ')
     417        else:
     418            print 'HTTP proxy username was supplied: %s' % proxyuser
    415419        if proxypass is None:
    416             proxypass = getpass.getpass('proxy password: ')
     420            proxypass = getpass.getpass('                  proxy password: ')
     421        else:
     422            print 'HTTP proxy password was supplied: %s' % '*'*len(proxyuser)
    417423        print '-'*52
    418424
Note: See TracChangeset for help on using the changeset viewer.