Make script compatible with python 2 or 3.  #7358
Make script compatible with python 2 or 3.  #7358

htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor