Improve handling of environment to correctly parse 'unset' and
not choke on invalid lines.

From Andrew Melo
adding workload.setLFNBase into the buildWorkload method of all Spec files as requested in issue #4864
Remove old Multicore files, switch to CMSSW 7+ way of running multithreaded, remove test code
Use abspath if file exists. Required for CRAB3
Signed-off-by: Justas Balcas <juztas@gmail.com>
Delete a TFC override that uses the old dcap at FNAL. We have to test this though
protect from deleting all
allow different duration for the function
Merge pull request #5294 from ticoann/protect_from_deleting_all

protect from deleting all from wmstats db
Merge pull request #5295 from ticoann/wmdata_mining_polling_cycle

allow different duration for the function
cleanup of the use of rowcount

The way we handled rowcount for the results of a query was somewhat hacky and didn't work with
newer versions of SqlAlchemy and Oracle. As rowcount was only used in one place in the code and
it wasn't even needed there, I completely removed the rowcount field and the hacky code.
Fix the defualt args behavior.
Merge pull request #5298 from lucacopa/SR_fix_to_script

Fix the default args behavior.
0.9.97.pre8

Signed-off-by: Seangchan Ryu <sryu@fnal.gov>
cleanup use of sqlalchemy exceptions

The imports aren't used at all and will cause problems with new SqlAlchemy versions as sqlalchemy.exceptions doesn't exist anymore.
wmdatamining fix
Don't terminate the thread when function fails
print out the error log
Merge pull request #5302 from ticoann/wmdatamining_poller_fix

wmdatamining fix
0.9.97.pre9

Signed-off-by: Seangchan Ryu <sryu@fnal.gov>
handle different output format
Merge pull request #5304 from ticoann/wmmining_fix2

handle different output format
0.9.97.pre10

Signed-off-by: Seangchan Ryu <sryu@fnal.gov>