Changeset 6828


Ignore:
Timestamp:
Apr 17, 2009, 2:43:41 PM (16 years ago)
Author:
rwilson
Message:

Changes to get auto_refresh of Patong validation working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy_anuga_validation/automated_validation_tests/patong_beach_validation/validate_patong.py

    r6824 r6828  
    146146    for data_object in Local_Data_Objects:
    147147        tar_path = os.path.join(Local_Data_Directory, data_object+'.tgz')
    148         log.info('Untarring %s in directory %s' % (tar_path, Local_Data_Directory))
     148        log.info('Untarring %s in directory %s ...'
     149                 % (tar_path, Local_Data_Directory))
    149150        untar_file(tar_path, target_dir=Local_Data_Directory)
    150151       
     
    185186
    186187    # now untar file/directory objects
    187     for obj in Local_Data_Objects:
    188         log.info('Untarring %s in directory %s'
    189                  % (obj_path, Local_Data_Directory))
    190         untar_file(obj_path, target_dir=Local_Data_Directory)
     188    for data_object in Local_Data_Objects:
     189        tar_path = os.path.join(Local_Data_Directory, data_object+'.tgz')
     190        log.info('Untarring %s in directory %s ...'
     191                 % (tar_path, Local_Data_Directory))
     192        untar_file(tar_path, target_dir=Local_Data_Directory)
    191193
    192194    return True
     
    323325
    324326# clean up
    325 #teardown()
     327teardown()
Note: See TracChangeset for help on using the changeset viewer.