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/asaplotbase.py

    r1627 r1676  
    450450                #print 'Failed to save %s: Error msg was\n\n%s' % (fname, err)
    451451                print_log()
    452                 asaplog.push('Failed to save %s: Error msg was\n\n%s' % (fname, msg.message))
     452                asaplog.push('Failed to save %s: Error msg was\n\n%s' % (fname, str(msg)))
    453453                print_log( 'ERROR' )
    454454                return
Note: See TracChangeset for help on using the changeset viewer.