Changeset 4331


Ignore:
Timestamp:
07/06/11 13:09:56 (3 years ago)
Author:
tekl
Message:

Add __del__ guard on ConstraintList?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pyomo/trunk/coopr/pyomo/base/constraint.py

    r4328 r4331  
    738738 
    739739    def __del__(self): 
    740         Constraint.__del__(self) 
     740        if Constraint is not None: 
     741            Constraint.__del__(self) 
    741742 
    742743    def __init__(self, *args, **kwargs): 
Note: See TracChangeset for help on using the changeset viewer.