We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20221e5 commit 4e5a595Copy full SHA for 4e5a595
ehos/htcondor.py
@@ -41,7 +41,7 @@ def wait_for_running( max_timeout=60):
41
42
43
while( max_timeout >= 0 ):
44
- print("waiting for the condor daemon ...")
+ logger.info("waiting for the condor daemon ...")
45
try:
46
import htcondor
47
@@ -50,8 +50,8 @@ def wait_for_running( max_timeout=60):
50
self._security = htcondor.SecMan()
51
52
return True
53
- except e:
54
- print( e )
+ except:
+ logger.debug("still waiting for the condor daemon to come online")
55
time.sleep( 5 )
56
max_timeout -= 5
57
0 commit comments