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
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.
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>
This fixes a bug in the Condor Plugin
Also add some comments and change error logging information (It is debugging instead, not really an error)
fix prep_id upload
Add the possibility to clean the environment bevore running Proxy.py commands
Update SR script by Ops request
if there are elements left in GQ, delete them when force-complete
Dont crash AgentSatusWatcher when there is not WMStats
Other fixes for tier0 thresholds configuration
0.9.97

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