Changeset 5094 for ndgCommon


Ignore:
Timestamp:
11/03/09 17:35:24 (11 years ago)
Author:
cbyrom
Message:

Improve checking for atom feeds when adding new entries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ndgCommon/trunk/ndg/common/src/clients/xmldb/abstractxmldbatomclient.py

    r4983 r5094  
    7979        collectionPath = difCollectionPath + providerID 
    8080         
    81         # NB, check if a top level provider collection exists; if not, add  
    82         # this with a feed 
    83         # NB, the collection will be created along with the DIF file - so set the 
    84         # feed up after the file has been created 
     81        # NB, check feed exists, if not, set it up 
    8582        setupFeed = False 
    86         if self.isNewCollection(collectionPath): 
     83        if self.isNewDoc(collectionPath + '/.feed.atom'): 
    8784            setupFeed = True 
    8885 
Note: See TracChangeset for help on using the changeset viewer.