Changeset 6277


Ignore:
Timestamp:
Feb 5, 2009, 2:56:38 AM (16 years ago)
Author:
ole
Message:

Made printed output dependent on 'verbose'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/abstract_2d_finite_volumes/util.py

    r6272 r6277  
    925925                    verbose = False):   
    926926       
     927    # FIXME(Ole): Shouldn't print statements here be governed by verbose?
    927928    assert type(gauge_filename) == type(''), 'Gauge filename must be a string'
    928929   
     
    971972            raise msg
    972973
    973         print 'swwfile', swwfile
     974        if verbose:
     975            print 'swwfile', swwfile
    974976
    975977        # Extract parent dir name and use as label
     
    23832385                               'xmomentum', 'ymomentum'],
    23842386                   verbose=False,
    2385                    use_cache = True):
     2387                   use_cache=True):
    23862388    """
    23872389   
     
    24902492                                 verbose=verbose)
    24912493
    2492     print 'sww files', sww_files
     2494    if verbose:
     2495        print 'sww files', sww_files
    24932496   
    24942497    #to make all the quantities lower case for file_function
Note: See TracChangeset for help on using the changeset viewer.