Ignore:
Timestamp:
Apr 16, 2009, 5:00:43 PM (16 years ago)
Author:
rwilson
Message:

Back-ported changes to getting of web files.

File:
1 edited

Legend:

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

    r6815 r6822  
    435435    opener = urllib2.build_opener(proxy, authinfo, urllib2.HTTPHandler)
    436436    urllib2.install_opener(opener)
    437     try:
    438         webget = urllib2.urlopen(file_url)
    439     except urllib2.HTTPError, e:
    440         print 'Proxy authentication failed'
    441         return False
     437    webget = urllib2.urlopen(file_url)
    442438
    443439    # transfer file to local filesystem
Note: See TracChangeset for help on using the changeset viewer.