Changeset 12188
- Timestamp:
- 05/03/12 11:20:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/scripts/DownloadExternalPackage.py
r12187 r12188 14 14 if os.path.exists(localFile): 15 15 print "File "+ localFile +" already exists and will not be downloaded..." 16 exit16 sys.exit() 17 17 18 18 #Try to download from url 19 19 httpfail=-1 20 20 try: 21 print "Fetching %s" % localFile 21 22 urllib.urlretrieve(url,localFile) 22 23 httpfail=0
Note:
See TracChangeset
for help on using the changeset viewer.