Ignore:
Timestamp:
01/27/10 11:43:10 (14 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-1920

Ready to Release: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Bug fix.
The object that the except block catches either Exception object or string.
Thus, .message attribute, which is proper for Exception object, should not
use. I have replaced .message attribute with str() function.


File:
1 edited

Legend:

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

    r1632 r1676  
    178178                #print msg
    179179                print_log()
    180                 asaplog.push(msg.message)
     180                asaplog.push(str(msg))
    181181                print_log('ERROR')
    182182            else:
Note: See TracChangeset for help on using the changeset viewer.