#!/usr/bin/env python # # Ported to GlueX by Sean Dobbs (s-dobbs@northwestern.edu), 2014 # # Copyright 2004 Cornell University, Ithaca, NY 14853. All rights reserved. # # Author: Valentin Kuznetsov, 2005 # """The ESGetComment function allows get comments from EventStore.""" import os, sys, string, re, time import es_init,esdb_auth, os_path_util from es_init import ESInit, checkArg def ESGetComment(args): """ESGetComment was designed to get comments from EventStore DB. In order to use it youm need to provide grade/timeStamp and a date (or date range) of desired comments. Please note, ESGetComment is a wrapper shell script around getComment.py module which does the work. """ localOpt=["[ -grade -timeStamp