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

Patong beach validation changes plus back-merge changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/automated_validation_tests/patong_beach_validation/validate.py

    r6903 r6906  
    5858OUTDIR_PREFIX = 'Make directory '
    5959
    60 # Name of SWW file produced by simulation
     60# Name of SWW file produced by run_model.py
    6161OUTPUT_SWW = 'patong.sww'
    6262
     
    9393
    9494        if 'DOCTYPE' in data:
    95             return False
    96        
    97         return True
     95            return True
     96       
     97        return False
    9898
    9999   
     
    114114            (result, auth) = get_web_file(remote_url, local, auth=auth)
    115115            if result and is_html(local)==False:
    116                 log.debug('Success fetching file %s' % remote_url)
     116                log.debug('Success fetching file %s' % remote)
    117117                return (True, auth)
    118 
     118            log.debug('Failure fetching from %s' % mirror)
     119
     120        log.debug('Failure fetching file %s' % remote)
    119121        return (False, auth)           
    120122               
     
    164166                if not files_same(local_data_digest, remote_data_digest):
    165167                    # digests differ, refresh object
    166                     log.info('Local file %s is out of date, refreshing ...' % obj)
    167168                    shutil.move(remote_digest, local_digest)
    168169                    (res, auth) = get_remote_from_mirrors(obj, local_file, auth, mirrors)
Note: See TracChangeset for help on using the changeset viewer.