Ignore:
Timestamp:
08/06/09 15:48:39 (15 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-729, CAS-1147

Ready to Release: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: No

Module(s): Module Names change impacts.

Description: Describe your changes here...

  1. Added level parameter to print_log()
  2. Replaced casalog.post() to asaplog.push() + print_log().


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/python/linecatalog.py

    r1612 r1614  
    88from asap._asap import linecatalog as lcbase
    99from asap import rcParams
     10from asap import asaplog
    1011import os
    11 from taskinit import *
    1212
    1313class linecatalog(lcbase):
     
    3232            if rcParams['verbose']:
    3333                #print msg
    34                 casalog.post( msg, 'WARN' )
     34                asaplog.push( msg )
     35                print_log( 'ERROR' )
    3536                return
    3637            else:
     
    100101                if rcParams['verbose']:
    101102                    #print msg
    102                     casalog.post( msg, 'WARN' )
     103                    asaplog.push( msg )
     104                    print_log( 'ERROR' )
    103105                    return
    104106                else:
Note: See TracChangeset for help on using the changeset viewer.