Changeset 4364

Show
Ignore:
Timestamp:
08/06/08 10:52:12 (4 months ago)
Author:
nate
Message:

Fixed exceptions to include the one's I had overwritten in the previous commit.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ide/ClassDesignerComponents.py

    r4362 r4364  
    6767                    try: 
    6868                        classID = self.Parent.classID.split("-")[0] 
    69                     except AttributeError
     69                    except (IndexError, AttributeError)
    7070                        # Try the sizer 
    7171                            try: 
    7272                                classID = self.ControllingSizer.classID.split("-")[0] 
    73                             except AttributeError
     73                            except (IndexError, AttributeError)
    7474                                classID = "?????" 
    7575                ra["classID"] = "%s-%s" % (classID, myID)