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.156 by fanzago, Mon Dec 10 18:28:57 2007 UTC vs.
Revision 1.157 by slacapra, Fri Jan 4 17:30:56 2008 UTC

# Line 199 | Line 199 | class SchedulerEdg(Scheduler):
199          sys.path.append(libPath)
200  
201          try:
202 <            self._taskId = cfg_params['taskId']
202 >            self._taskId = common.taskDB.dict('taskId')
203          except:
204              self._taskId = ''
205  
# Line 834 | Line 834 | class SchedulerEdg(Scheduler):
834          self.proxyValid=1
835          return
836  
837 +    def userName(self):
838 +        """ return the user name """
839 +        self.checkProxy()
840 +        tmp=runCommand("voms-proxy-info -identity")
841 +        return tmp.strip()
842 +
843      def configOpt_(self):
844          edg_ui_cfg_opt = ' '
845          if self.edg_config:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines