Changeset 13425

Show
Ignore:
Timestamp:
12/21/07 10:55:35 (7 months ago)
Author:
warmerdam
Message:

Improve remote server pre-test.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/autotest/gdrivers/wcs.py

    r12106 r13425  
    5050        gdaltest.wcs_drv = None 
    5151 
    52  
    5352    # NOTE - mloskot: 
    5453    # This is a dirty hack checking if remote WCS service is online. 
     
    5958    except urllib2.HTTPError, e: 
    6059        print 'Test WCS service is down (HTTP Error: %d)' % e.code 
     60        gdaltest.wcs_drv = None 
     61    except: 
     62        print 'Test WCS service is down.' 
    6163        gdaltest.wcs_drv = None 
    6264