Changeset 4282


Ignore:
Timestamp:
06/10/08 09:52:55 (11 years ago)
Author:
cbyrom
Message:

Couple of small fixes.

Location:
exist/trunk/python/ndgUtils/models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • exist/trunk/python/ndgUtils/models/Atom.py

    r4249 r4282  
    173173    # labels for use with the templates to set/extract specific inputs 
    174174    ONLINE_REF_LABEL = "online_ref" 
     175    ATOM_REF_LABEL = "atom_ref" 
    175176 
    176177 
     
    248249            # NB, this doesn't trigger the Summary Property, so do this 
    249250            # explicitly, if need be 
    250             if inputs.get('Summary'): 
     251            if inputs.has_key('Summary'): 
    251252                self.Summary = inputs.get('Summary') 
    252253             
  • exist/trunk/python/ndgUtils/models/existdbclient.py

    r4249 r4282  
    320320        self.createEXistFile(atom.toPrettyXML(), eXistCollection, atom.atomName) 
    321321        logging.info("Atom created in eXist") 
    322         return 
     322        return atom 
Note: See TracChangeset for help on using the changeset viewer.