htc_escape

lsst.ctrl.bps.htcondor.htc_escape(value)

Escape characters in given value based upon HTCondor syntax.

Parameters:
value : Any

Value that needs to have characters escaped if string.

Returns:
new_value : Any

Given value with characters escaped appropriate for HTCondor if string.