Skip to content

Commit 4e5a595

Browse files
author
Kim Brugger
committed
htcondor lib confusion
1 parent 20221e5 commit 4e5a595

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ehos/htcondor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def wait_for_running( max_timeout=60):
4141

4242

4343
while( max_timeout >= 0 ):
44-
print("waiting for the condor daemon ...")
44+
logger.info("waiting for the condor daemon ...")
4545
try:
4646
import htcondor
4747

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

5252
return True
53-
except e:
54-
print( e )
53+
except:
54+
logger.debug("still waiting for the condor daemon to come online")
5555
time.sleep( 5 )
5656
max_timeout -= 5
5757

0 commit comments

Comments
 (0)