Changeset 1821

Show
Ignore:
Timestamp:
08/02/07 03:19:21 (1 year ago)
Author:
arj..@yirdis.nl
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphor/trunk/gaphor/ui/diagramtab.py

    r1679 r1821  
    165165        items = self.view.selected_items 
    166166        for i in items: 
    167             s = i.subject 
    168             if s and len(s.presentation) == 1: 
    169                 s.unlink() 
     167            try: 
     168                s = i.subject 
     169            except AttributeError: 
     170                pass # No .subject 
     171            else: 
     172                if s and len(s.presentation) == 1: 
     173                    s.unlink() 
    170174            i.unlink() 
    171175 
  • gaphor/trunk/setup.py

    r1819 r1821  
    88""" 
    99 
    10 VERSION = '0.11.1
     10VERSION = '0.11.2
    1111 
    1212import os