Changeset 2432


Ignore:
Timestamp:
06/24/08 14:41:43 (11 years ago)
Author:
anonymous
Message:

Worked around a problem preventing installation of LeMill onto an
empty database.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LargeSectionFolder.py

    r2428 r2432  
    6464        if id: 
    6565            obj= getattr(self, id) 
     66            print "FOO: %s" % str(obj) 
    6667            if type_name in MATERIAL_TYPES: 
    6768                obj.setState('draft') 
    6869            else: 
    69                 obj.setState('public') 
     70                try: 
     71                    obj.setState('public') 
     72                except TypeError: 
     73                    pass 
    7074        return id 
    7175 
Note: See TracChangeset for help on using the changeset viewer.