Ignore:
Timestamp:
23/03/07 14:58:25 (14 years ago)
Author:
lawrence
Message:

Better error handling, better parameter showing. Shell example
javascript as an initial step to using the Vocabserver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/PythonCode/wsgi/DocumentRetrieve.py

    r2274 r2319  
    4949            id,summary=self.executeQuery(xquery) 
    5050            hits=summary['hits'] 
    51             #print 'bnl',targetCollection,xquery 
     51            print 'bnl',targetCollection,xquery 
    5252             
    5353            if hits!=1: raise ValueError,'%s documents returned for uri %s:%s:%s'%(hits,repository,'NDG-B0',localID) 
Note: See TracChangeset for help on using the changeset viewer.