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

Comparing COMP/CRAB/python/ResubmitterServer.py (file contents):
Revision 1.1 by spiga, Sat Apr 26 14:42:12 2008 UTC vs.
Revision 1.4 by spiga, Tue Oct 13 08:22:39 2009 UTC

# Line 7 | Line 7 | class ResubmitterServer(SubmitterServer,
7      def __init__(self, cfg_params, jobs):
8          self.cfg_params = cfg_params
9  
10 +        self.copy_data = int(cfg_params.get('USER.copy_data',0))
11 +        self.check_RemoteDir =  int(cfg_params.get('USER.check_user_remote_dir',0))
12 +
13          nj_list = []
14 <      
15 <        nj_list = self.checkAlowedJob(jobs,nj_list)
14 >
15 >        # get updated status from server
16 >        try:
17 >            from StatusServer import StatusServer
18 >            stat = StatusServer(self.cfg_params)
19 >            stat.resynchClientSide()
20 >        except:
21 >            pass
22 >
23 >        nj_list = self.checkAllowedJob(jobs,nj_list)
24        
25          SubmitterServer.__init__(self, cfg_params, nj_list, 'range')
26  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines