#!/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 ESAddComment function allows add additional comments into EventStore.""" import os, sys, string, re, time import es_init, esdb_auth, os_path_util from es_init import ESInit, checkArg def ESAddComment(args): """ESAddComment was designed to add comments into EventStore DB. To add your comment you need to provide old/new grade or data version name and old/new timeStamp. The comment can be added either from command line or can be read from ASCII file. Please note, ESAddComment is a wrapper shell script around addComment.py module which does the work. """ localOpt=["[ -grade -timeStamp