ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/SchedulerEdg.py
(Generate patch)

Comparing COMP/CRAB/python/SchedulerEdg.py (file contents):
Revision 1.51 by slacapra, Thu Apr 13 17:25:07 2006 UTC vs.
Revision 1.52 by fanzago, Wed Apr 19 12:38:20 2006 UTC

# Line 784 | Line 784 | class SchedulerEdg(Scheduler):
784          if not timeLeftLocal or not isInt(timeLeftLocal):
785              mustRenew = 1
786          else:
787 <            timeLeftServer = runCommand('voms-proxy-info -actimeleft')
787 >            timeLeftServer = runCommand('voms-proxy-info -actimeleft | head -1')
788              if not timeLeftServer or not isInt(timeLeftServer):
789                  mustRenew = 1
790              elif timeLeftServer<minTimeLeft or timeLeftServer<minTimeLeft:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines