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.
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>
Merge pull request #5292 from lucacopa/fix_dcapReference_PSet

Delete a TFC override that uses the old dcap at FNAL
Merge pull request #5311 from ticoann/force_complete_fix

if there are elements left in GQ, delete them when force-complete
Merge pull request #5306 from ticoann/fix_prep_id_upload

fix prep_id upload
Merge pull request #5305 from lucacopa/change_state_bug

This fixes a bug in the Condor Plugin
Merge pull request #5299 from hufnagel/sqlalchemy-exceptions

cleanup use of sqlalchemy exceptions
Merge pull request #5310 from lucacopa/try_insideLoop_requestQuery

Update SR script by Ops request