Skip to content

Commit

Permalink
htcondor lib confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim Brugger committed Jan 15, 2019
1 parent 20221e5 commit 4e5a595
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ehos/htcondor.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def wait_for_running( max_timeout=60):


while( max_timeout >= 0 ):
print("waiting for the condor daemon ...")
logger.info("waiting for the condor daemon ...")
try:
import htcondor

Expand All @@ -50,8 +50,8 @@ def wait_for_running( max_timeout=60):
self._security = htcondor.SecMan()

return True
except e:
print( e )
except:
logger.debug("still waiting for the condor daemon to come online")
time.sleep( 5 )
max_timeout -= 5

Expand Down

0 comments on commit 4e5a595

Please sign in to comment.