X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=moncommands.py;h=c5755cc377a0b4ce84799ecc1155acaee1c22408;hb=refs%2Fheads%2F1.0;hp=25765b67503a3755534fab41223e28054d3ed268;hpb=eee5b672bc9c5dd028dca1e102e825c90e9ab9ec;p=monitor.git diff --git a/moncommands.py b/moncommands.py index 25765b6..c5755cc 100644 --- a/moncommands.py +++ b/moncommands.py @@ -1,5 +1,6 @@ import os import fcntl +import traceback DEBUG= 0 @@ -69,6 +70,7 @@ class CMD: import traceback; print traceback.print_exc() return ("", "ScriptTimeout") except ExceptionReadTimeout: + import traceback print traceback.print_exc() return ("", "RunningScriptTimeout") except Exception, err: