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

Comparing COMP/CRAB/python/multicrab.py (file contents):
Revision 1.16 by slacapra, Wed Nov 11 16:36:41 2009 UTC vs.
Revision 1.18 by slacapra, Mon Nov 16 16:16:17 2009 UTC

# Line 239 | Line 239 | class MultiCrab:
239              # write crab command to be executed later...
240              cmd='crab '
241              for o in options:
242 <                cmd+=str(o)+" "+str(options[o])+" "
242 >                if options[o]==None: options[o]=""
243 >                elif str(options[o])[0]=="-": options[o]='"\\'+str(options[o])+'"'
244 >                cmd+=str(o)+' '+str(options[o])+' '
245              cmd+="\n"
246              # print cmd
247  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines