Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
chaen committed Dec 5, 2023
1 parent c3281a4 commit 1a81115
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/DIRAC/Core/Tornado/Server/TornadoService.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,10 @@ def export_dbSleep(self, sleepTime):
A simple sleep
"""
try:
dbInst = [getattr(self, attr) for attr in dir(self)][0]
print(f"CHRIS dir {dir(self)}")
selfAttr = [getattr(self, attr) for attr in dir(self)]
print(f"CHRIS {selfAttr=}")
dbInst = [0]
dbInst._query(f"SELECT 'IN DB', SLEEP({sleepTime})")
return S_OK(sleepTime)
except Exception as e:
Expand Down

0 comments on commit 1a81115

Please sign in to comment.