ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/RateMonShiftTool_dev/mailAlert.py
(Generate patch)

Comparing UserCode/RateMonShiftTool_dev/mailAlert.py (file contents):
Revision 1.2 by amott, Thu Mar 15 14:52:12 2012 UTC vs.
Revision 1.3 by grchrist, Wed Apr 4 08:57:56 2012 UTC

# Line 13 | Line 13 | try:  ## so that we don't publish the li
13   except:
14      eList=False
15   def getLastRuns(h=24):
16 <    lastRun,isCol = DatabaseParser.GetLatestRunNumber()
16 >    lastRun,isCol,isGood = DatabaseParser.GetLatestRunNumber()
17      
18      curs = DatabaseParser.ConnectDB()
19      query ="""SELECT A.RUNNUMBER,B.STARTTIME, B.STOPTIME,B.TRIGGERS
# Line 33 | Line 33 | def digest(hours,maxRate=35,printAll=Fal
33      text=""
34      runs = getLastRuns(hours)
35      for run,nTrig,time in runs:
36 <        run,isCol = DatabaseParser.GetLatestRunNumber(run)
36 >        run,isCol,isGood = DatabaseParser.GetLatestRunNumber(run)
37          runParser = DatabaseParser.DatabaseParser()
38          runParser.RunNumber = run
39          runParser.ParseRunSetup()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines