def main():

  parser = argparse.ArgumentParser(description='Fetch an annotation as an HDF5 file')
  parser.add_argument('baseurl', action="store")
  parser.add_argument('token', action="store")
  parser.add_argument('annids', action="store", help='Comma separated list of annotation IDs to delete')

  result = parser.parse_args()

  # Get annotation in question
  try:
    import httplib
    conn = httplib.HTTPConnection ( ( result.baseurl ) % "%s")
    conn.request ( 'DELETE', '/ocpca/%s/%s/' % ( result.token, result.annids ))
    resp = conn.getresponse()
    content=resp.read()
  except httplib.HTTPException, e:
    print "Error %s" % (e) 
    sys.exit(0)

  print "Delete returns %s" % content
dataset/ETHPy150Open neurodata/ndstore/examples/annodel.py/main/swapped operands of `%`