Changeset 5021


Ignore:
Timestamp:
Feb 12, 2008, 12:00:21 PM (17 years ago)
Author:
ole
Message:

Added stub license file for the cairns example

Location:
anuga_core
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/utilities/data_audit.py

    r5020 r5021  
    305305
    306306        # Publishable
    307         publishable = data['publishable'].upper()
    308         if verbose: print 'Publishable: "%s"' %publishable       
    309         if publishable != 'YES':
     307        publishable = data['publishable']
     308        if verbose: print 'Publishable: "%s"' %publishable
     309        if publishable == '':
     310            msg = 'No publishable value specified'
     311            raise NotPublishable, msg
     312       
     313        print 'PUB', publishable
     314        if publishable.upper() != 'YES':
    310315            msg = 'Data file %s is not flagged as publishable'\
    311316                  %fid.name
Note: See TracChangeset for help on using the changeset viewer.