Ignore:
Timestamp:
16/02/09 17:11:08 (11 years ago)
Author:
cbyrom
Message:

Add a new feed for collecting corrections info submitted by users of
the atom editor + create new method on client to do this + add new
tests and tidy up some code.

File:
1 edited

Legend:

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

    r4919 r4983  
    111111        providerID = atom.ME.providerID 
    112112         
    113         # remove the trailing forward slash - otherwise the xquery won't work 
    114         if targetCollection.endswith('/'): 
    115             targetCollection = targetCollection[0:-1] 
     113        # add a trailing forward slash - otherwise the xquery won't work 
     114        if not targetCollection.endswith('/'): 
     115            targetCollection = targetCollection + '/' 
    116116             
    117117        # NB, using the query() method (via the useChunked keyword) here results 
Note: See TracChangeset for help on using the changeset viewer.