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

Comparing COMP/CRAB/python/DBinterface.py (file contents):
Revision 1.13 by spiga, Fri Apr 4 15:52:16 2008 UTC vs.
Revision 1.14 by slacapra, Fri Apr 11 14:54:22 2008 UTC

# Line 80 | Line 80 | class DBinterface:
80          with the first coniguration stuff
81          """
82          opt={}
83 <        opt['serverName']=optsToSave['server_name']
84 <        opt[ 'name']=common.work_space.taskName()  
83 >        if optsToSave.get('server_mode',0) == 1: opt['serverName']=optsToSave['server_name']
84 >        opt['name']=common.work_space.taskName()  
85          task = Task( opt )
86          try:
87              common.bossSession.saveTask( task )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines