[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] A few questions about the format of variables (classads) and their values when using the python bindings



>
>> (3) Similar to that. What about
>>   +TransferOutput = ""
>> what should be the value of the classad? double quotes in between
>> single quotes? double quotes escaped in between double quotes? Just
>> double quotes? â?
>
> Anything starting with â+â is a ClassAd attribute and must obey ClassAd quoting rules (strings start with double quotes).
>


Hi Brian,

after sending the email, I got the classads CopyToSpool and
NordugridRSL reading the condor C code. I didn't have it at the time
of sending the email.

I didn't know one can use python boolean True and False when setting a
ClassAd. I thought it had to be a string, but not sure if upper case
of lower case. Using boolean objects True/False makes everything
easier.

On the TransferOutput, should I understand then that the way would be
just as follows?

     classad.ClassAd( { "TransferOutput" : "" } )

Cheers,
Jose